From 35824a9ab6b8e41b8cd5d4330d8062e4a3def943 Mon Sep 17 00:00:00 2001 From: Mia Altieri Date: Mon, 15 Jul 2024 11:30:22 +0000 Subject: [PATCH] fix int tests --- .github/workflows/integration.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index 5514382..5934d9b 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -11,7 +11,9 @@ 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 @@ -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 @@ -59,6 +63,6 @@ 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 }}"