From fbc1f5b26719e757baa38529fe043c864432b026 Mon Sep 17 00:00:00 2001 From: Jordan Last Date: Wed, 13 Dec 2023 18:06:39 -0600 Subject: [PATCH] fixing the test.yml --- .github/workflows/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 17b0119524..fd3fee6710 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -223,18 +223,18 @@ jobs: shell: bash -l {0} working-directory: ${{ matrix.example_directories }} run: npm link azle - - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests }} + - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests && !contains(github.head_ref, 'release--') && !(github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, 'Merge pull request') && contains(github.event.head_commit.message, 'demergent-labs/release--')) }} shell: bash -l {0} working-directory: ${{ matrix.example_directories }} run: AZLE_PROPTEST_NUM_RUNS=10 AZLE_PROPTEST_VERBOSE=true npm test - - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests && contains(github.head_ref, 'release--') }} + - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests && contains(github.head_ref, 'release--') && !(github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, 'Merge pull request') && contains(github.event.head_commit.message, 'demergent-labs/release--')) }} shell: bash -l {0} working-directory: ${{ matrix.example_directories }} run: AZLE_PROPTEST_NUM_RUNS=100 AZLE_PROPTEST_VERBOSE=true npm test - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests && (github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, 'Merge pull request') && contains(github.event.head_commit.message, 'demergent-labs/release--')) }} shell: bash -l {0} working-directory: ${{ matrix.example_directories }} - run: AZLE_NUM_PROPTEST_RUNS=100 AZLE_PROPTEST_VERBOSE=true npm test + run: AZLE_PROPTEST_NUM_RUNS=100 AZLE_PROPTEST_VERBOSE=true npm test - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests && matrix.example_directories != 'examples/new' }} shell: bash -l {0} working-directory: ${{ matrix.example_directories }}