-
Notifications
You must be signed in to change notification settings - Fork 8
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install the latest version of uv and set the python version
uses: astral-sh/setup-uv@d9e0f98d3fc6adb07d1e3d37f3043649ddad06a1 # v6.5.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