Skip to content

Commit 05ffe27

Browse files
committed
GH actions
1 parent d9dc193 commit 05ffe27

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
test:
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
include:
13+
- python-version: '3.6'
14+
runs-on: ubuntu-20.04
15+
pytest-spec: 'pytest<8'
16+
- python-version: '3.14'
17+
runs-on: ubuntu-latest
18+
pytest-spec: 'pytest<9'
19+
runs-on: ${{ matrix.runs-on }}
20+
21+
steps:
22+
- name: Checkout
23+
uses: actions/checkout@v4
24+
25+
- name: Set up Python ${{ matrix.python-version }}
26+
uses: actions/setup-python@v5
27+
with:
28+
python-version: ${{ matrix.python-version }}
29+
30+
- name: Install dependencies
31+
run: |
32+
python -m pip install --upgrade pip
33+
python -m pip install -e . "${{ matrix.pytest-spec }}"
34+
35+
- name: Run tests
36+
run: pytest -q

0 commit comments

Comments
 (0)