chore: check compatibility with cpython 3.12, clean-up, drop windows … #99
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: [push] | |
jobs: | |
build: | |
runs-on: ${{ matrix.platform }} | |
strategy: | |
max-parallel: 15 | |
matrix: | |
platform: [ubuntu-latest, macos-latest] | |
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/[email protected] | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install pip dependencies | |
run: | | |
python -m pip install --upgrade pip setuptools wheel | |
python -m pip install tox tox-gh-actions | |
- name: Install the package under test | |
run: python -m pip install -e . | |
- name: Test with tox | |
run: tox | |
- name: Test with script test_a | |
run: bash tests/test_a.sh | |
- name: Test with script test_N0 | |
run: bash tests/test_N0.sh | |
- name: Test with script test_N3 | |
run: bash tests/test_N3.sh | |
- name: Test with script test_identical_files | |
run: bash tests/test_identical_files.sh |