Support multiple venvs in Makefile #201
Workflow file for this run
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: | |
pull_request: | |
branches: | |
- main | |
defaults: | |
run: | |
shell: bash | |
env: | |
LANG: "en_US.utf-8" | |
LC_ALL: "en_US.utf-8" | |
PYTHONIOENCODING: "UTF-8" | |
jobs: | |
tests: | |
strategy: | |
max-parallel: 4 | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
- windows-latest | |
python-version: | |
- "3.8" | |
- "3.9" | |
- "3.10" | |
- "3.11" | |
- "3.12" | |
runs-on: ${{ matrix.os }} | |
continue-on-error: ${{ matrix.os == 'windows-latest' || matrix.python-version == '3.12'}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up PDM | |
uses: pdm-project/setup-pdm@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Set up tools | |
run: | | |
git config --global init.defaultBranch main | |
git config --global user.email "pawamoy@pm.me" | |
git config --global user.name "Timothée Mazzucotelli" | |
pdm config python.use_venv false | |
- name: Set up the project | |
run: pip install copier copier-templates-extensions | |
- name: Run the test suite | |
run: make test |