From c0c301c0b048f443995c7aac09d41b1bb8c02fc5 Mon Sep 17 00:00:00 2001 From: Roman Dodin Date: Sat, 22 Jun 2024 21:07:53 +0300 Subject: [PATCH] move tests after the lab deployment --- .github/workflows/cicd.yml | 6 +++--- run.sh | 3 --- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 4cea483..b55528b 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -64,13 +64,13 @@ jobs: # username: ${{ github.actor }} # password: ${{ secrets.GITHUB_TOKEN }} + - name: Test + run: ./run.sh ci-test + - name: start tmate session uses: mxschmitt/action-tmate@v3 if: ${{ inputs.start-tmate }} - - name: Test - run: ./run.sh ci-test - ansible-sanity-test: runs-on: ubuntu-latest steps: diff --git a/run.sh b/run.sh index 489d0a4..91cddcc 100755 --- a/run.sh +++ b/run.sh @@ -322,9 +322,6 @@ function dump-logs { # ci-test is a wrapper for testing in CI which first setups the environment. function ci-test { - echo "Sleeping 30s before starting the tests to let the GH actions VM come to senses" - sleep 30 - install-containerlab ${CLAB_VERSION} install-local-collection deploy-lab