-
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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install the latest version of uv and set the python version
uses: astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3b # v7.3.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