Skip to content

Commit

Permalink
ci: add matrix
Browse files Browse the repository at this point in the history
Signed-off-by: Frost Ming <[email protected]>
  • Loading branch information
frostming committed Dec 14, 2023
1 parent 8c2455a commit 2a4e407
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,21 @@ on:
push:
branches:
- main
pull_request:

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: '3.10'
- uses: pdm-project/setup-pdm@v3
name: Install PDM
with:
python-version: '3.10'
python-version: ${{ matrix.python-version }}
cache: 'true'
- name: Generate coverage report
run: |
pdm install
Expand Down

0 comments on commit 2a4e407

Please sign in to comment.