github actions: tightens-up security #200
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: | |
branches: | |
- '*' | |
jobs: | |
python: | |
if: github.event.push.user.login == 'gabrielfalcao' | |
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: Test with PyTest | |
run: make dependencies tests | |
- name: Self/Auto Test | |
run: make dependencies run |