Skip to content

Commit

Permalink
matrix testing by year
Browse files Browse the repository at this point in the history
  • Loading branch information
crerwin committed Nov 28, 2023
1 parent 1a30e1c commit 53d861d
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ on: [push]
jobs:
build:
runs-on: ubuntu-latest
# strategy:
# matrix:
# year:
# - 2015
# - 2016
# - 2017
# - 2018
# - 2019
# - 2020
# - 2021
# - 2022
strategy:
matrix:
year:
- 2015
- 2016
- 2017
- 2018
- 2019
- 2020
- 2021
- 2022

steps:
- uses: actions/checkout@v3
Expand All @@ -30,4 +30,4 @@ jobs:
poetry install
- name: Unit tests
run: |
poetry run pytest
poetry run pytest tests/test_{{ matrix.year }}*

0 comments on commit 53d861d

Please sign in to comment.