Skip to content

Commit

Permalink
fix int tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MiaAltieri committed Jul 15, 2024
1 parent cb9e801 commit 4514025
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@ on:

jobs:
build:
uses: ./.github/workflows/build.yaml
name: Build rock
uses: canonical/data-platform-workflows/.github/workflows/build_rock.yaml@v16

integration:
runs-on: ubuntu-latest
timeout-minutes: 120
needs: build
strategy:
matrix:
env: [integration]
env: []
fail-fast: false
steps:
- name: Checkout repository
Expand All @@ -41,9 +43,11 @@ jobs:
run: |
sudo snap install rockcraft --classic --revision 1206
sudo snap refresh rockcraft --hold=forever
- uses: actions/download-artifact@v3
- name: Download rock package(s)
uses: actions/download-artifact@v4
with:
name: mongodb-rock
pattern: ${{ needs.build.outputs.artifact-prefix }}-*
merge-multiple: true
- name: Install tox
run: python3 -m pip install tox

Expand All @@ -59,6 +63,8 @@ jobs:
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
echo "Free disk space after cleanup"
df -T
- name: Integration Tests
run: sg snap_microk8s -c "tox -e ${{ matrix.env }}"
run: |
sg snap_microk8s -c "tox -e build"
sg snap_microk8s -c "tox -e ${{ matrix.env }}"

0 comments on commit 4514025

Please sign in to comment.