Skip to content

Commit

Permalink
Adding setup db step
Browse files Browse the repository at this point in the history
  • Loading branch information
b-gopalswami committed Nov 25, 2024
1 parent dc28540 commit 939b128
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions .github/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
26 changes: 13 additions & 13 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 #[email protected]
uses: smartcontractkit/.github/.github/workflows/run-integration-tests.yml@71c18453a97bd669d781d308099dda71535c61cd #[email protected]
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:
Expand All @@ -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
Expand All @@ -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 #[email protected]
uses: smartcontractkit/.github/.github/workflows/run-integration-tests.yml@71c18453a97bd669d781d308099dda71535c61cd #[email protected]
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
Expand All @@ -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'
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 939b128

Please sign in to comment.