Skip to content

Commit dd81219

Browse files
authored
feat: enable matrix tests (#53)
As `phpipam-action` now support different phpipam versions we switch all tests to matrix builds. So we can test different combinations of phpipam and python versions.
1 parent 32ddba5 commit dd81219

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,19 @@ jobs:
77
e2e_tests:
88
name: end to end tests
99
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
phpipam-version: ['1.4x', '1.5x']
13+
python-version: ['3.7.x', '3.8.x', '3.9.x', '3.10.x']
1014
steps:
1115
- uses: actions/checkout@v2
16+
- uses: actions/setup-python@v2
17+
with:
18+
python-version: ${{ matrix.python-version }}
1219
- name: setup phpipam
13-
uses: codeaffen/phpipam-action@v1
20+
uses: codeaffen/phpipam-action@v2
21+
with:
22+
ipam_version: ${{ matrix.phpipam-version }}
1423
- name: prepare tests
1524
run: |
1625
make test-setup

0 commit comments

Comments
 (0)