Skip to content

Commit a8c1752

Browse files
committed
experiment
1 parent 6b84f1c commit a8c1752

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci-core-reusable.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ jobs:
401401
ci_run ./bin/run_on_all_chains.sh "zkstack dev test integration --no-deps --ignore-prerequisites" ${{ env.CHAINS }} ${{ env.INTEGRATION_TESTS_LOGS_DIR }}
402402
403403
- name: Repeat integration tests on push to main to check for flakiness
404-
if: ${{ (steps.condition.outputs.should_run == 'true' && github.event_name == 'push' || github.ref != 'refs/heads/main') }}
404+
if: ${{ (steps.condition.outputs.should_run == 'true' && github.event_name == 'push' && github.ref == 'refs/heads/main') }}
405405
run: |
406406
for i in {1..10}; do
407407
echo "Iteration $i"
@@ -451,7 +451,7 @@ jobs:
451451
ci_run ./bin/run_on_all_chains.sh "zkstack dev test integration --no-deps --ignore-prerequisites --external-node" ${{ env.CHAINS }} ${{ env.INTEGRATION_TESTS_LOGS_DIR }}
452452
453453
- name: Repeat integration tests en on push to main to check for flakiness
454-
if: ${{ (steps.condition.outputs.should_run == 'true' && github.event_name == 'push' || github.ref != 'refs/heads/main') }}
454+
if: ${{ (steps.condition.outputs.should_run == 'true' && github.event_name == 'push' && github.ref == 'refs/heads/main') }}
455455
run: |
456456
for i in {1..10}; do
457457
echo "Iteration $i"
@@ -464,7 +464,7 @@ jobs:
464464
ci_run ./bin/run_on_all_chains.sh "zkstack dev test fees --no-deps --no-kill" ${{ env.CHAINS }} ${{ env.FEES_LOGS_DIR }}
465465
466466
- name: Repeat fee projection tests on push to main to check for flakiness
467-
if: ${{ (steps.condition.outputs.should_run == 'true' && github.event_name == 'push' || github.ref != 'refs/heads/main') }}
467+
if: ${{ (steps.condition.outputs.should_run == 'true' && github.event_name == 'push' && github.ref == 'refs/heads/main') }}
468468
run: |
469469
for i in {1..10}; do
470470
echo "Iteration $i"

0 commit comments

Comments
 (0)