Skip to content

Commit

Permalink
move tests after the lab deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Jun 22, 2024
1 parent d444a89 commit c0c301c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 0 additions & 3 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c0c301c

Please sign in to comment.