From bff37c8e5918ae3c3bef2b66aed6e757bd4df2b1 Mon Sep 17 00:00:00 2001 From: Aaron Lu <50029043+aalu1418@users.noreply.github.com> Date: Thu, 8 Feb 2024 07:29:26 -0700 Subject: [PATCH] e2e small tweaks (#574) * add e2e test compilation check * enable caching to speed up check flow * bump integration test to core develop --- .github/workflows/e2e_custom_cl.yml | 16 +++++++++++++++- integration-tests/go.mod | 6 +++--- integration-tests/go.sum | 8 ++++---- 3 files changed, 22 insertions(+), 8 deletions(-) diff --git a/.github/workflows/e2e_custom_cl.yml b/.github/workflows/e2e_custom_cl.yml index e062e1b9d..945be350c 100644 --- a/.github/workflows/e2e_custom_cl.yml +++ b/.github/workflows/e2e_custom_cl.yml @@ -20,6 +20,20 @@ concurrency: cancel-in-progress: true jobs: + check_test_compilation: + name: Check integration test compilation + runs-on: ubuntu-latest + steps: + - name: Checkout sources + uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 + - name: Setup go + uses: actions/setup-go@v3 + with: + go-version-file: "go.mod" + check-latest: true + cache: true + - run: cd ./integration-tests && go test -run=xxx ./... + get_projectserum_version: name: Get ProjectSerum Version environment: integration @@ -89,7 +103,7 @@ jobs: contents: read runs-on: ubuntu20.04-16cores-64GB - needs: [e2e_custom_build_artifacts, e2e_custom_build_custom_chainlink_image] + needs: [e2e_custom_build_artifacts, e2e_custom_build_custom_chainlink_image, check_test_compilation] env: TEST_SUITE: smoke TEST_ARGS: -test.timeout 30m diff --git a/integration-tests/go.mod b/integration-tests/go.mod index 19ca90d2d..2c6f7ce94 100644 --- a/integration-tests/go.mod +++ b/integration-tests/go.mod @@ -13,10 +13,10 @@ require ( github.com/onsi/gomega v1.30.0 github.com/rs/zerolog v1.30.0 github.com/smartcontractkit/chainlink-common v0.1.7-0.20240205180946-df826cb540ce - github.com/smartcontractkit/chainlink-solana v1.0.3-0.20240207111946-9485e5909eda + github.com/smartcontractkit/chainlink-solana v1.0.3-0.20240207182351-414a66663857 github.com/smartcontractkit/chainlink-testing-framework v1.23.2 - github.com/smartcontractkit/chainlink/integration-tests v0.0.0-20240207165744-230ff8ccd821 - github.com/smartcontractkit/chainlink/v2 v2.9.0-beta0.0.20240207165744-230ff8ccd821 + github.com/smartcontractkit/chainlink/integration-tests v0.0.0-20240207222909-f90e419c7f2e + github.com/smartcontractkit/chainlink/v2 v2.9.0-beta0.0.20240207222909-f90e419c7f2e github.com/smartcontractkit/libocr v0.0.0-20240112202000-6359502d2ff1 github.com/stretchr/testify v1.8.4 github.com/testcontainers/testcontainers-go v0.23.0 diff --git a/integration-tests/go.sum b/integration-tests/go.sum index 93a7020ae..486cc3145 100644 --- a/integration-tests/go.sum +++ b/integration-tests/go.sum @@ -1407,10 +1407,10 @@ github.com/smartcontractkit/chainlink-testing-framework v1.23.2 h1:haXPd9Pg++Zs5 github.com/smartcontractkit/chainlink-testing-framework v1.23.2/go.mod h1:StIOdxvwd8AMO6xuBtmD6FQfJXktEn/mJJEr7728BTc= github.com/smartcontractkit/chainlink-vrf v0.0.0-20231120191722-fef03814f868 h1:FFdvEzlYwcuVHkdZ8YnZR/XomeMGbz5E2F2HZI3I3w8= github.com/smartcontractkit/chainlink-vrf v0.0.0-20231120191722-fef03814f868/go.mod h1:Kn1Hape05UzFZ7bOUnm3GVsHzP0TNrVmpfXYNHdqGGs= -github.com/smartcontractkit/chainlink/integration-tests v0.0.0-20240207165744-230ff8ccd821 h1:TAVolauV5Y7qZfhrvY2bKSMSHbXKRHmuoyTWoQxt/tU= -github.com/smartcontractkit/chainlink/integration-tests v0.0.0-20240207165744-230ff8ccd821/go.mod h1:40/94yfTYqFMyKnElZc2Uaq8ZYZSlBFf5FpWT1mbYeI= -github.com/smartcontractkit/chainlink/v2 v2.9.0-beta0.0.20240207165744-230ff8ccd821 h1:jCRla05GlwQ1xzghAz5ufORI3jOKP+iMGGh/L6CXrms= -github.com/smartcontractkit/chainlink/v2 v2.9.0-beta0.0.20240207165744-230ff8ccd821/go.mod h1:bJmsdGnX7bnC/8hVfQExHcpvPZraypYVr2SgUJU0PZ8= +github.com/smartcontractkit/chainlink/integration-tests v0.0.0-20240207222909-f90e419c7f2e h1:Tk9P9iBgvaJ164w/lkrJwXFKzgSzOmbM4eJ4mAPbGjk= +github.com/smartcontractkit/chainlink/integration-tests v0.0.0-20240207222909-f90e419c7f2e/go.mod h1:uhifJmBzwfQesYrN052Ej1kcYLOvUabXDODDaYIGZPs= +github.com/smartcontractkit/chainlink/v2 v2.9.0-beta0.0.20240207222909-f90e419c7f2e h1:nVVLDveoA0rF9GNEPlGVaBfSSS8YnyjYFByeaMeTz8c= +github.com/smartcontractkit/chainlink/v2 v2.9.0-beta0.0.20240207222909-f90e419c7f2e/go.mod h1:j/6IibXUIaiE7G+3MxXE/UIj9G2K903Q9JQqsh2uBVs= github.com/smartcontractkit/go-plugin v0.0.0-20231003134350-e49dad63b306 h1:ko88+ZznniNJZbZPWAvHQU8SwKAdHngdDZ+pvVgB5ss= github.com/smartcontractkit/go-plugin v0.0.0-20231003134350-e49dad63b306/go.mod h1:w1sAEES3g3PuV/RzUrgow20W2uErMly84hhD3um1WL4= github.com/smartcontractkit/grpc-proxy v0.0.0-20230731113816-f1be6620749f h1:hgJif132UCdjo8u43i7iPN1/MFnu49hv7lFGFftCHKU=