Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tmpolaczyk committed Jul 24, 2024
1 parent 62e7834 commit 086c6eb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/run-zombienet-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
# Preliminary job to get the list of tests
get-tests:
runs-on: self-hosted
outputs:
tests: ${{ steps.get_tests.outputs.tests }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -57,7 +59,7 @@ jobs:
| map(select(.name | test($regex)))
| map(.name)
' test/moonwall.config.json | jq -c '.')
fi
fi
echo "Will run tests: $tests"
if [ -z "$tests" ]; then
echo "No tests found. Exiting."
Expand Down Expand Up @@ -131,7 +133,7 @@ jobs:
needs: ["get-tests", "build"]
strategy:
matrix:
test_name: ${{ fromJson(env.tests) }}
test_name: ${{ fromJson(needs.get-tests.outputs.tests) }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 086c6eb

Please sign in to comment.