-
Notifications
You must be signed in to change notification settings - Fork 7
28 lines (26 loc) · 819 Bytes
/
test.yml
File metadata and controls
28 lines (26 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_call:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.13"]
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Install the latest version of uv and set the python version
uses: astral-sh/setup-uv@b75a909f75acd358c2196fb9a5f1299a9a8868a4 # v6.7.0
with:
python-version: ${{ matrix.python-version }}
activate-environment: true
- name: Install dependencies
run: uv pip install -r pyproject.toml
- name: Install test dependencies
run: uv pip install ".[test]"
- name: Test with python ${{ matrix.python-version }}
run: uv run --frozen pytest