docs: List other templates in README #208
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 | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
defaults: | |
run: | |
shell: bash | |
env: | |
LANG: en_US.utf-8 | |
LC_ALL: en_US.utf-8 | |
POETRY_VIRTUALENVS_IN_PROJECT: 'true' | |
PYTHONIOENCODING: UTF-8 | |
PYTHON_VERSIONS: '' | |
jobs: | |
tests: | |
strategy: | |
max-parallel: 6 | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
runs-on: ${{ matrix.os }} | |
continue-on-error: ${{ matrix.os != 'ubuntu-latest' }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up git | |
run: | | |
git config --global user.email "pawamoy@pm.me" | |
git config --global user.name "Timothée Mazzucotelli" | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Set up the cache | |
uses: actions/cache@v3 | |
env: | |
cache-name: cache-python-packages | |
with: | |
path: tests/tmp/.venv | |
key: ${{ matrix.os }}-${{ matrix.python-version }}-${{ env.cache-name }} | |
restore-keys: | | |
${{ matrix.os }}-${{ matrix.python-version }}- | |
${{ matrix.os }}- | |
- name: Set up the project | |
run: | | |
pip install poetry safety copier | |
poetry config virtualenvs.in-project true | |
- name: Run the test suite | |
run: make test |