Skip to content

Commit

Permalink
Also test inventree/inventree:stable by using a matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
wolflu05 committed Feb 1, 2024
1 parent 069512c commit c82fa75
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,18 @@ jobs:
coverage_info
tests-integration-python:
name: "🧪 Integration tests: python"
name: "🧪 Integration tests: python (inventree/inventree:${{ matrix.inventree-tag }})"
if: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) }}
needs: style-python
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
inventree-tag: [latest, stable]

container:
image: inventree/inventree:latest
image: inventree/inventree:${{ matrix.inventree-tag }}
options: --user root
env:
INVENTREE_DB_ENGINE: postgresql
Expand Down Expand Up @@ -140,6 +145,7 @@ jobs:
echo $GITHUB_WORKSPACE > coverage_info
- name: Upload coverage
if: ${{ matrix.inventree-tag == 'latest' }}
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # pin@v3.1.2
with:
name: integration-coverage
Expand Down

0 comments on commit c82fa75

Please sign in to comment.