Skip to content

Commit

Permalink
speed up test suite runs in github via matrixing the netbox verison
Browse files Browse the repository at this point in the history
  • Loading branch information
raddessi committed Feb 5, 2022
1 parent 348218a commit 7eb8298
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/py3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
strategy:
matrix:
python: [3.6, 3.8]
netbox: ["2.10", "3.0", "3.1"]

steps:
- uses: actions/checkout@v2
Expand All @@ -29,4 +30,4 @@ jobs:
run: black --diff --check pynetbox tests

- name: Run Tests
run: pytest
run: pytest --netbox-version=${{ matrix.netbox }}

0 comments on commit 7eb8298

Please sign in to comment.