stick to ubuntu 20.04 for test CI workflow, so we can keep testing wi… #38
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: Run tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
python: [3.6, 3.7, 3.8, 3.9, '3.10'] | |
fail-fast: false | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{matrix.python}} | |
- name: Install required Python packages + pytest | |
run: | | |
python -m pip install -r requirements.txt | |
python -m pip install pytest | |
- name: Run test suite | |
run: | | |
./test.sh |