π¨ chore(workflows): update python version in matrix for GitHub Acβ¦ #76
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: Run tests | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- dev | |
- develop | |
- '**-develop' | |
jobs: | |
Testing: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python-version: [ '3.9', '3.10', '3.11' ] | |
os: [ ubuntu-latest ] # , windows-latest, macos-latest ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up PDM | |
uses: pdm-project/setup-pdm@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
pdm install --frozen-lockfile -G bot | |
- name: Run Tests | |
run: | | |
pdm run -v pytest tests |