diff --git a/.github/workflows/forest.yml b/.github/workflows/forest.yml index 9215e2e0104..679b8322bde 100644 --- a/.github/workflows/forest.yml +++ b/.github/workflows/forest.yml @@ -274,7 +274,7 @@ jobs: fi timeout-minutes: ${{ fromJSON(env.SCRIPT_TIMEOUT_MINUTES) }} calibnet-export-check-v1: - if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'Release')) }} + if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'Release') || contains(github.event.pull_request.labels.*.name, 'Snapshot'))) }} needs: - build-ubuntu name: V1 snapshot export checks @@ -296,6 +296,7 @@ jobs: run: ./scripts/tests/calibnet_export_check.sh v1 timeout-minutes: ${{ fromJSON(env.SCRIPT_TIMEOUT_MINUTES) }} calibnet-export-check-v2: + if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'Release') || contains(github.event.pull_request.labels.*.name, 'Snapshot'))) }} needs: - build-ubuntu name: V2 snapshot export checks @@ -317,6 +318,7 @@ jobs: run: ./scripts/tests/calibnet_export_check.sh v2 timeout-minutes: ${{ fromJSON(env.SCRIPT_TIMEOUT_MINUTES) }} calibnet-export-diff-check: + if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'Release') || contains(github.event.pull_request.labels.*.name, 'Snapshot'))) }} needs: - build-ubuntu name: Diff snapshot export checks @@ -454,8 +456,7 @@ jobs: runs-on: ubuntu-24.04 needs: - build-ubuntu - env: - # We use a custom Dockerfile for CI to speed up the build process. + env: # We use a custom Dockerfile for CI to speed up the build process. FOREST_DOCKERFILE_OVERRIDE: scripts/devnet/forest_ci.dockerfile steps: - uses: actions/cache@v5 @@ -630,7 +631,6 @@ jobs: - calibnet-stateless-rpc-check - state-migrations-check - calibnet-wallet-check - - calibnet-export-check-v2 - calibnet-no-discovery-checks - calibnet-kademlia-checks - calibnet-eth-mapping-check @@ -646,10 +646,12 @@ jobs: - run: echo "All integration tests passed." extra_tests: - if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'Release')) }} + if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'Release') || contains(github.event.pull_request.labels.*.name, 'Snapshot'))) }} runs-on: ubuntu-24.04 needs: - calibnet-export-check-v1 + - calibnet-export-check-v2 + - calibnet-export-diff-check name: Additional integration tests status steps: - run: echo "All extra integration tests passed."