Merge branch 'master' into upgrade-deps-and-best-practices #21
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: CI/CD | |
on: # events that trigger our pipeline: push on any branch and release creation | |
push: | |
release: | |
types: [published] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: | |
- "3.9" | |
- "3.10" | |
- "3.11" | |
- "3.12" | |
- "3.13" | |
- "pypy-3.9" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
pip install cookiecutter | |
curl -sSL https://install.python-poetry.org | python3 - | |
export PATH=$PATH:$HOME/.local/bin | |
- name: Run tests | |
env: | |
TOX_ENV: ${{ matrix.python-version }} | |
run: ./tests/test.sh |