From f54aa34bea77b4c6251e9ab700f6ca85f9dd9c11 Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Wed, 10 Apr 2024 13:05:37 -0400 Subject: [PATCH] github: require system tests to pass before triggering LP build Signed-off-by: Simon Deziel --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b9e1b45c3..0fa83d7d9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -156,7 +156,7 @@ jobs: chmod +x ~ cd microcloud/test - sudo --preserve-env=TEST_STORAGE_SOURCE ./main.sh + sudo --preserve-env=GITHUB_ACTIONS,TEST_STORAGE_SOURCE ./main.sh documentation-checks: @@ -167,7 +167,7 @@ jobs: snap: name: Trigger snap edge build runs-on: ubuntu-22.04 - needs: [code-tests, documentation-checks] + needs: [code-tests, system-tests, documentation-checks] if: ${{ github.repository == 'canonical/microcloud' && github.event_name == 'push' && github.actor != 'dependabot[bot]' }} steps: - name: Checkout code