From 76014e513d6f2ecb7a466be1e2e782c237fbe727 Mon Sep 17 00:00:00 2001 From: Jacinta Ferrant Date: Mon, 16 Dec 2024 13:50:18 -0500 Subject: [PATCH 1/3] Fix full genesis test Signed-off-by: Jacinta Ferrant --- .github/workflows/stacks-core-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stacks-core-tests.yml b/.github/workflows/stacks-core-tests.yml index 98eb5cf92c..e7afd86c6c 100644 --- a/.github/workflows/stacks-core-tests.yml +++ b/.github/workflows/stacks-core-tests.yml @@ -29,7 +29,7 @@ jobs: max-parallel: 2 matrix: test-name: - - neon_integrations::bitcoind_integration_test + - tests::neon_integrations::bitcoind_integration_test steps: ## Setup test environment - name: Setup Test Environment From 3a479225ea691af11bf8052cd27a73c9406873ad Mon Sep 17 00:00:00 2001 From: wileyj <2847772+wileyj@users.noreply.github.com> Date: Mon, 16 Dec 2024 11:59:37 -0800 Subject: [PATCH 2/3] Removing unused workflow step (remains in bitcoin-tests.yml) --- .github/workflows/stacks-core-tests.yml | 49 ------------------------- 1 file changed, 49 deletions(-) diff --git a/.github/workflows/stacks-core-tests.yml b/.github/workflows/stacks-core-tests.yml index e7afd86c6c..068c4fb575 100644 --- a/.github/workflows/stacks-core-tests.yml +++ b/.github/workflows/stacks-core-tests.yml @@ -18,55 +18,6 @@ concurrency: cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: - # Full genesis test with code coverage - full-genesis: - name: Full Genesis Test - runs-on: ubuntu-latest - strategy: - ## Continue with the test matrix even if we've had a failure - fail-fast: false - ## Run a maximum of 2 concurrent tests from the test matrix - max-parallel: 2 - matrix: - test-name: - - tests::neon_integrations::bitcoind_integration_test - steps: - ## Setup test environment - - name: Setup Test Environment - id: setup_tests - uses: stacks-network/actions/stacks-core/testenv@main - with: - genesis: true - btc-version: "25.0" - - ## Run test matrix using restored cache of archive file - ## - Test will timeout after env.TEST_TIMEOUT minutes - - name: Run Tests - id: run_tests - timeout-minutes: ${{ fromJSON(env.TEST_TIMEOUT) }} - uses: stacks-network/actions/stacks-core/run-tests@main - with: - test-name: ${{ matrix.test-name }} - threads: 1 - archive-file: ~/genesis_archive.tar.zst - - ## Upload code coverage file - - name: Code Coverage - id: codecov - uses: stacks-network/actions/codecov@main - with: - test-name: large_genesis - filename: ./lcov.info - - - name: Status Output - run: | - echo "run_tests: ${{ steps.run_tests.outputs.status }}" - echo "codecov: ${{ steps.codecov.outputs.status }}" - - - name: Check Failures - if: steps.run_tests.outputs.status == 'failure' || steps.codecov.outputs.status == 'failure' - run: exit 1 - # Unit tests with code coverage unit-tests: name: Unit Tests From 319b95ea6d725d1c164b8ae5a9d4ec3c56ad0587 Mon Sep 17 00:00:00 2001 From: Brice Dobry Date: Mon, 16 Dec 2024 16:32:30 -0500 Subject: [PATCH 3/3] fix: remove `full-genesis` from `needs` of "Check Tests" --- .github/workflows/stacks-core-tests.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/stacks-core-tests.yml b/.github/workflows/stacks-core-tests.yml index 068c4fb575..457a2aaefd 100644 --- a/.github/workflows/stacks-core-tests.yml +++ b/.github/workflows/stacks-core-tests.yml @@ -137,7 +137,6 @@ jobs: runs-on: ubuntu-latest if: always() needs: - - full-genesis - open-api-validation - core-contracts-clarinet-test steps: