From 685f1aa4dabc69921b028ce0433838a11bfeade1 Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Thu, 18 Jul 2024 18:25:59 +0800 Subject: [PATCH] [wip] Run system-tests in CI --- .github/workflows/tests.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index ea8a3282..e73721ce 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -13,7 +13,8 @@ on: env: SO_VERSION: v1.1.0-36d4969-202407091537 - FIXTURENET_ETH_STACKS_REF: main + FIXTURENET_ETH_STACKS_REF: roysc/set-validator-creds + SYSTEM_TESTS_REF: roysc/test-withdrawals jobs: test: @@ -83,6 +84,21 @@ jobs: go install github.com/onsi/ginkgo/v2/ginkgo ginkgo -v --label-filter '!proxy' -r ./integration + - name: Clone system-tests + uses: actions/checkout@v4 + with: + repository: cerc-io/system-tests + ref: ${{ env.SYSTEM_TESTS_REF }} + path: ./system-tests + token: ${{ secrets.CICD_REPO_TOKEN }} + progress: false + - name: Run system tests + working-directory: ./system-tests + run: | + pip install pytest + pip install -r requirements.txt + pytest -vv + - name: Run testnet stack without statediff env: CERC_RUN_STATEDIFF: false