diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b4e206bf7..a37b3c637 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,40 +14,12 @@ env: CARGO_TERM_COLOR: always jobs: - matrices: - name: build matrices - runs-on: ubuntu-latest - outputs: - build-matrix: ${{ steps.gen.outputs.build-matrix }} - test-matrix: ${{ steps.gen.outputs.test-matrix }} - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 - with: - python-version: "3.11" - - name: Generate matrices - id: gen - env: - EVENT_NAME: ${{ github.event_name }} - run: | - output=$(python3 .github/scripts/matrices.py) - echo "::debug::build-matrix=$output" - echo "build-matrix=$output" >> $GITHUB_OUTPUT - - export TEST=1 - - output=$(python3 .github/scripts/matrices.py) - echo "::debug::test-matrix=$output" - echo "test-matrix=$output" >> $GITHUB_OUTPUT - build-tests: name: build tests runs-on: [ubuntu-22.04-github-hosted-16core, macos-latest] timeout-minutes: 60 - needs: matrices strategy: fail-fast: false - matrix: ${{ fromJson(needs.matrices.outputs.build-matrix) }} steps: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@nightly @@ -70,15 +42,13 @@ jobs: path: tests-${{ matrix.target }}.tar.zst test: - name: test ${{ matrix.name }} + name: runnning tests - ${{ matrix.name }} runs-on: [ubuntu-22.04-github-hosted-16core, macos-latest] timeout-minutes: 90 needs: - - matrices - build-tests strategy: fail-fast: false - matrix: ${{ fromJson(needs.matrices.outputs.test-matrix) }} env: ETH_RPC_URL: https://eth-mainnet.alchemyapi.io/v2/C3JEvfW6VgtqZQa-Qp1E-2srEiIc02sD steps: