-
Notifications
You must be signed in to change notification settings - Fork 70
31 lines (31 loc) · 926 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
name: build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
tests:
name: tests
strategy:
matrix:
include:
- { name: Linux, python: '3.10', os: ubuntu-latest }
- { name: Windows, python: '3.10', os: windows-latest }
- { name: Mac, python: '3.10', os: macos-latest }
- { name: '3.13', python: '3.13', os: ubuntu-latest }
- { name: '3.12', python: '3.12', os: ubuntu-latest }
- { name: '3.11', python: '3.11', os: ubuntu-latest }
- { name: '3.9', python: '3.9', os: ubuntu-latest }
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python }}
- run: python -m pip install --upgrade pip wheel
- run: pip install tox tox-gh-actions
- run: tox