github actions: break-down into separate actions #172
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: Sure Tests | |
on: [push, pull_request] | |
jobs: | |
python: | |
name: "Python" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: | |
- "3.6" | |
- "3.7" | |
- "3.8" | |
- "3.9" | |
- "3.10" | |
- "3.11" | |
- "3.12" | |
# IMPORTANT: update the documentation file ../../docs/source/getting-started.rst when adding more python versions to the list above | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Python | |
uses: gabrielfalcao/pyenv-action@v18 | |
with: | |
default: "${{ matrix.python }}" | |
command: make dependencies | |
- name: Display Python Version | |
run: python3 --version | |
- name: Test with PyTest | |
run: make dependencies tests | |
- name: Self/Auto Test | |
run: make dependencies run |