Skip to content

Commit

Permalink
try new reusable workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Tofel committed Feb 20, 2025
1 parent a510315 commit 77d9389
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,6 @@ jobs:
AWS_OIDC_IAM_ROLE_VALIDATION_PROD_ARN: ${{ secrets.AWS_OIDC_IAM_ROLE_VALIDATION_PROD_ARN }}
AWS_API_GW_HOST_GRAFANA: ${{ secrets.AWS_API_GW_HOST_GRAFANA }}
SLACK_BOT_TOKEN: ${{ secrets.QA_SLACK_API_KEY }}
MAIN_DNS_ZONE_PUBLIC_SDLC: ${{ secrets.MAIN_DNS_ZONE_PUBLIC_SDLC }}
AWS_K8S_CLUSTER_NAME_SDLC: ${{ secrets.AWS_K8S_CLUSTER_NAME_SDLC }}
OPTIONAL_GATI_AWS_ROLE_ARN: ${{ secrets.AWS_OIDC_GLOBAL_READ_ONLY_TOKEN_ISSUER_ROLE_ARN }}
OPTIONAL_GATI_LAMBDA_URL: ${{ secrets.AWS_INFRA_RELENG_TOKEN_ISSUER_LAMBDA_URL }}

Expand All @@ -226,7 +224,7 @@ 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-e2e-tests.yml@244b17ef5c6ddad3cc841ba90117304216d031f5
uses: smartcontractkit/.github/.github/workflows/run-e2e-tests.yml@a53491a497f3dd1dc52229dd9b90dc2acf2c6fac
with:
workflow_name: Run Core E2E Tests For PR
chainlink_version: ${{ inputs.evm-ref || inputs.cl_ref || github.sha }}
Expand Down Expand Up @@ -267,7 +265,7 @@ 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-e2e-tests.yml@244b17ef5c6ddad3cc841ba90117304216d031f5
uses: smartcontractkit/.github/.github/workflows/run-e2e-tests.yml@a53491a497f3dd1dc52229dd9b90dc2acf2c6fac
with:
workflow_name: Run Core E2E Tests For Merge Queue
chainlink_version: ${{ inputs.evm-ref || inputs.cl_ref || github.sha }}
Expand Down Expand Up @@ -312,7 +310,7 @@ jobs:
contents: read
needs: [build-chainlink, changes]
if: github.event_name == 'pull_request' && (needs.changes.outputs.ccip_changes == 'true' || needs.changes.outputs.github_ci_changes == 'true')
uses: smartcontractkit/.github/.github/workflows/run-e2e-tests.yml@244b17ef5c6ddad3cc841ba90117304216d031f5
uses: smartcontractkit/.github/.github/workflows/run-e2e-tests.yml@a53491a497f3dd1dc52229dd9b90dc2acf2c6fac
with:
workflow_name: Run CCIP E2E Tests For PR
chainlink_version: ${{ inputs.evm-ref || inputs.cl_ref || github.sha }}
Expand Down Expand Up @@ -354,7 +352,7 @@ jobs:
contents: read
needs: [build-chainlink, changes]
if: github.event_name == 'merge_group' && (needs.changes.outputs.ccip_changes == 'true' || needs.changes.outputs.github_ci_changes == 'true')
uses: smartcontractkit/.github/.github/workflows/run-e2e-tests.yml@244b17ef5c6ddad3cc841ba90117304216d031f5
uses: smartcontractkit/.github/.github/workflows/run-e2e-tests.yml@a53491a497f3dd1dc52229dd9b90dc2acf2c6fac
with:
workflow_name: Run CCIP E2E Tests For Merge Queue
chainlink_version: ${{ inputs.evm-ref || inputs.cl_ref || github.sha }}
Expand Down
3 changes: 3 additions & 0 deletions system-tests/tests/smoke/capabilities/workflow_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -785,6 +785,9 @@ func TestKeystoneWithOCR3Workflow_SingleDon_MockedPrice(t *testing.T) {
return !hasNextPrice
}, timeout, 10*time.Second, "feed did not update, timeout after: %s", timeout)

testLogger.Error().Msg("failing on purpose")
t.FailNow()

Check failure on line 789 in system-tests/tests/smoke/capabilities/workflow_test.go

View workflow job for this annotation

GitHub Actions / GolangCI Lint (system-tests/tests)

unreachable-code: unreachable code after this statement (revive)

require.EqualValues(t, priceProvider.ExpectedPrices(), priceProvider.ActualPrices(), "prices do not match")
testLogger.Info().Msgf("All %d prices were found in the feed", len(priceProvider.ExpectedPrices()))
}
Expand Down

0 comments on commit 77d9389

Please sign in to comment.