File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -183,6 +183,9 @@ jobs:
183183 runs-on :
184184 group : " huge-runners"
185185 timeout-minutes : 30
186+ strategy :
187+ matrix :
188+ version : ["1.0.0", "1.1.0"]
186189 steps :
187190 - name : " Check out repository code"
188191 uses : " actions/checkout@v4"
@@ -201,8 +204,13 @@ jobs:
201204 pip install invoke toml codecov
202205 - name : " Install Package"
203206 run : " poetry install --all-extras"
207+ - name : " Set environment variables for python_testcontainers"
208+ run : |
209+ echo INFRAHUB_TESTING_IMAGE_VER=${{ matrix.version }} >> $GITHUB_ENV
204210 - name : " Integration Tests"
205- run : " poetry run pytest --cov infrahub_sdk tests/integration/"
211+ run : |
212+ echo "Running tests for version: ${{ matrix.version }}"
213+ poetry run pytest --cov infrahub_sdk tests/integration/
206214 - name : " Upload coverage to Codecov"
207215 run : |
208216 codecov --flags integration-tests
You can’t perform that action at this time.
0 commit comments