-
Notifications
You must be signed in to change notification settings - Fork 3
35 lines (31 loc) · 1.06 KB
/
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
name: Tests
on: pull_request
jobs:
build:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- { name: Linux, python: '3.12', os: ubuntu-latest, tox: py312 }
- { name: Windows, python: '3.12', os: windows-latest, tox: py312 }
- { name: Mac, python: '3.12', os: macos-latest, tox: py312 }
- { name: '3.11', python: '3.11', os: ubuntu-latest, tox: py311 }
- { name: '3.10', python: '3.10', os: ubuntu-latest, tox: py310 }
- { name: '3.9', python: '3.9', os: ubuntu-latest, tox: py39 }
- { name: '3.8', python: '3.8', os: ubuntu-latest, tox: py38 }
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python }}
- name: Update pip
run: |
pip install -U wheel
pip install -U setuptools
python -m pip install -U pip
- name: Install tox
run: pip install tox
#- name: Run tests
# run: tox -e ${{ matrix.tox }}