From 939b128cd7c649ded8105523379663ed7ba28132 Mon Sep 17 00:00:00 2001 From: Balamurali Gopalswami Date: Mon, 25 Nov 2024 13:52:06 -0500 Subject: [PATCH] Adding setup db step --- .github/integration-tests.yml | 6 +++--- .github/workflows/integration-tests.yml | 26 ++++++++++++------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/integration-tests.yml b/.github/integration-tests.yml index 08d46fd761b..1a43914ac75 100644 --- a/.github/integration-tests.yml +++ b/.github/integration-tests.yml @@ -10,14 +10,14 @@ runner-test-matrix: - id: smoke/ccip/ccip_messaging_test.go:* path: integration-tests/smoke/ccip/ccip_messaging_test.go - test_env_type: docker + test_env_type: in-memory runs_on: ubuntu-latest triggers: - - PR Integration Core Tests + - PR Integration CCIP Tests test_cmd: cd integration-tests/smoke/ccip && go test ccip_messaging_test.go -timeout 12m -test.parallel=2 -count=1 -json test_env_vars: E2E_TEST_SELECTED_NETWORK: SIMULATED_1,SIMULATED_2 E2E_JD_VERSION: 0.6.0 PG_INSTANCE: true - + # END: CCIP tests diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 237cee652c7..249e8074c31 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -193,8 +193,8 @@ jobs: AWS_ROLE_TO_ASSUME: ${{ secrets.QA_AWS_ROLE_TO_ASSUME }} dep_evm_sha: ${{ inputs.evm-ref }} - run-core-integration-tests-for-pr: - name: Run Core integration Tests For PR + run-ccip-integration-tests-for-pr: + name: Run CCIP integration Tests For PR permissions: actions: read checks: write @@ -203,12 +203,12 @@ jobs: contents: read needs: [build-chainlink, changes] if: github.event_name == 'pull_request' && ( needs.changes.outputs.core_changes == 'true' || needs.changes.outputs.github_ci_changes == 'true') - uses: smartcontractkit/.github/.github/workflows/run-integration-tests.yml@fe655a3e20897f92cf76dee5ebbf919a44a7245e #ctf-run-tests@0.2.0 + uses: smartcontractkit/.github/.github/workflows/run-integration-tests.yml@71c18453a97bd669d781d308099dda71535c61cd #ctf-run-tests@0.2.0 with: - workflow_name: Run Core Integration Tests For PR + workflow_name: Run CCIP Integration Tests For PR chainlink_version: ${{ inputs.evm-ref || github.sha }} test_path: .github/integration-tests.yml - test_trigger: PR Integration Core Tests + test_trigger: PR Integration CCIP Tests upload_cl_node_coverage_artifact: true upload_cl_node_coverage_artifact_prefix: cl_node_coverage_data_ secrets: @@ -221,8 +221,8 @@ jobs: AWS_OIDC_IAM_ROLE_VALIDATION_PROD_ARN: ${{ secrets.AWS_OIDC_IAM_ROLE_VALIDATION_PROD_ARN }} SLACK_BOT_TOKEN: ${{ secrets.QA_SLACK_API_KEY }} - run-core-integration-tests-for-merge-queue: - name: Run Core Integration Tests For Merge Queue + run-ccip-integration-tests-for-merge-queue: + name: Run CCIP Integration Tests For Merge Queue permissions: actions: read checks: write @@ -231,12 +231,12 @@ jobs: contents: read needs: [build-chainlink, changes] if: github.event_name == 'merge_group' && ( needs.changes.outputs.core_changes == 'true' || needs.changes.outputs.github_ci_changes == 'true') - uses: smartcontractkit/.github/.github/workflows/run-integration-tests.yml@fe655a3e20897f92cf76dee5ebbf919a44a7245e #ctf-run-tests@1.0.0 + uses: smartcontractkit/.github/.github/workflows/run-integration-tests.yml@71c18453a97bd669d781d308099dda71535c61cd #ctf-run-tests@1.0.0 with: - workflow_name: Run Core Integration Tests For Merge Queue + workflow_name: Run CCIP Integration Tests For Merge Queue chainlink_version: ${{ inputs.evm-ref || github.sha }} test_path: .github/integration-tests.yml - test_trigger: Merge Queue integration Core Tests + test_trigger: Merge Queue integration CCIP Tests upload_cl_node_coverage_artifact: true upload_cl_node_coverage_artifact_prefix: cl_node_coverage_data_ # Notify Test Tooling team in slack when merge queue tests fail @@ -257,7 +257,7 @@ jobs: if: always() name: Integration Tests runs-on: ubuntu-latest - needs: [lint-integration-tests,run-core-integration-tests-for-pr,run-core-integration-tests-for-merge-queue] + needs: [lint-integration-tests,run-ccip-integration-tests-for-pr,run-ccip-integration-tests-for-merge-queue] steps: - name: Fail the job if core tests in PR not successful if: always() && needs.run-core-integration-tests-for-pr.result == 'failure' @@ -274,7 +274,7 @@ jobs: cleanup: name: Clean up integration environment deployments if: always() - needs: [run-core-integration-tests-for-pr, run-core-integration-tests-for-merge-queue] + needs: [run-ccip-integration-tests-for-pr, run-ccip-integration-tests-for-merge-queue] runs-on: ubuntu-latest steps: - name: Checkout repo @@ -294,7 +294,7 @@ jobs: show-chainlink-node-coverage: name: Show Chainlink Node Go Coverage if: always() - needs: [run-core-integration-tests-for-pr, run-core-integration-tests-for-merge-queue] + needs: [run-ccip-integration-tests-for-pr, run-ccip-integration-tests-for-merge-queue] runs-on: ubuntu-latest steps: - name: Checkout the repo