From 79b54a8e8282d3b6b16755321d681003f936de2d Mon Sep 17 00:00:00 2001 From: Sam Calder-Mason Date: Fri, 21 Feb 2025 17:20:08 +1000 Subject: [PATCH] feat(integration.yaml): add mainnet integration tests and use secrets for beacon node url --- .github/workflows/integration.yaml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index f71b97d..b8910e9 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -13,22 +13,17 @@ jobs: fail-fast: false matrix: consensus: [lighthouse, teku, prysm, nimbus, lodestar] - network: [mainnet] runs-on: ubuntu-latest timeout-minutes: 10 - env: - MAINNET_BEACON_API_URL: ${{ secrets.MAINNET_BEACON_API_URL }} - HOLESKY_BEACON_API_URL: ${{ secrets.HOLESKY_BEACON_API_URL }} steps: - uses: actions/checkout@v3 - name: Print details run: | echo "Consensus: ${{ matrix.consensus }}" - echo "Network: ${{ matrix.network }}" - - name: Run ${{ matrix.network }}-${{ matrix.consensus }} + - name: Run mainnet-${{ matrix.consensus }} id: run-test uses: ./.github/actions/checkpoint-sync with: consensus: ${{ matrix.consensus }} - network: ${{ matrix.network }} - beacon_node_url: ${{ env.MAINNET_BEACON_API_URL }} \ No newline at end of file + network: 'mainnet' + beacon_node_url: ${{ secrets.MAINNET_BEACON_NODE_URL }} \ No newline at end of file