Skip to content

Commit

Permalink
try matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
crerwin committed Feb 2, 2024
1 parent 41b794f commit aa2cfc6
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ on: [push]
jobs:
build:
runs-on: [advent-runners]
# strategy:
# matrix:
# year:
# - 2015
# - 2017
# - 2018
# - 2020
# - 2021
# - 2022
strategy:
matrix:
year:
- 2015
- 2017
- 2018
- 2020
- 2021
- 2022

steps:
- uses: actions/checkout@v3
Expand All @@ -27,7 +27,5 @@ jobs:
pip install poetry
poetry install
- name: Unit tests
# run: |
# poetry run pytest tests/test_${{ matrix.year }}*
run: |
poetry run pytest
poetry run pytest tests/test_${{ matrix.year }}*

0 comments on commit aa2cfc6

Please sign in to comment.