forked from lightonai/fast-plaid
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (33 loc) · 916 Bytes
/
tests.yaml
File metadata and controls
41 lines (33 loc) · 916 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
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Tests
on:
push:
branches:
- main
- "**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.9", "3.12", "3.13"]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup uv
uses: astral-sh/setup-uv@v6
with:
version: "latest"
python-version: ${{ matrix.python-version }}
activate-environment: true
- name: Install dependencies and run common tests
run: |
uv pip install pytest pytest-cov
uv run pytest tests/test.py
- name: Run Ubuntu-specific tests
if: matrix.os == 'ubuntu-latest'
run: uv run pytest python/fast_plaid/filtering/filtering.py