Skip to content

Commit

Permalink
Try running both mini-lab flavors.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit91 committed Apr 29, 2024
1 parent fd2c568 commit f773695
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ jobs:
test:
name: Integration tests
runs-on: self-hosted

strategy:
matrix:
flavors:
- name: sonic
env: MINI_LAB_FLAVOR=sonic
- name: cumulus
env: MINI_LAB_FLAVOR=cumulus

steps:
- name: Gain back workspace permissions # https://github.com/actions/checkout/issues/211
run: |
Expand All @@ -40,6 +49,7 @@ jobs:
uses: EnricoMi/publish-unit-test-result-action@v2
with:
files: test/integration/**/output/*.xml
if: ${{ matrix.flavors.name == 'sonic' }}

- name: Slack Notification on Success
uses: rtCamp/action-slack-notify@v2
Expand All @@ -48,11 +58,11 @@ jobs:
env:
SLACK_COLOR: good
SLACK_TITLE: 'Integration Tests succeeded'
if: ${{ success() }}
if: ${{ matrix.flavors.name == 'sonic' && success() }}

- name: Slack Notification on Failure
uses: rtCamp/action-slack-notify@v2
env:
SLACK_COLOR: red
SLACK_TITLE: 'Integration Tests failed'
if: ${{ failure() }}
if: ${{ matrix.flavors.name == 'sonic' && failure() }}
1 change: 0 additions & 1 deletion test/integration/ci-prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ cd "${MINI_LAB_PATH}"
git checkout "${MINI_LAB_VERSION}"

# self hosted runners get dirty, we need to clean up first
make cleanup
./test/ci-cleanup.sh

cd -

0 comments on commit f773695

Please sign in to comment.