-
-
Notifications
You must be signed in to change notification settings - Fork 4
40 lines (36 loc) · 995 Bytes
/
tests.yml
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
name: Tests
on:
pull_request:
push:
branches:
- main
jobs:
tests:
strategy:
fail-fast: false
matrix:
include:
- python-minor: "3.8"
python-version: "3.8"
- python-minor: "3.9"
python-version: "3.9"
- python-minor: "3.10"
python-version: "3.10"
- python-minor: "3.11"
python-version: "3.11"
- python-minor: "3.12"
python-version: "3.12"
- python-minor: "3.13"
python-version: "3.13.0-rc.1"
name: Python ${{ matrix.python-minor }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: pip install nox==2024.4.15 poetry==1.8.2
- run: nox --python ${{ matrix.python-minor }}
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}