Skip to content

Commit

Permalink
Split the build tests stuff into 4 parts like the normal tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
SpicyLemon committed Apr 5, 2024
1 parent 54ebca6 commit c816e22
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,16 +112,25 @@ jobs:
build-tests:
# TODO[1760]: Delete this build-tests action once the tests reliably pass again.
needs: setup-tests
strategy:
fail-fast: false
matrix:
part: ["00", "01", "02", "03"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
if: needs.setup-tests.outputs.should-run
with:
go-version: ${{ needs.setup-tests.outputs.go-version }}
- uses: actions/download-artifact@v4
if: needs.setup-tests.outputs.should-run
with:
name: "${{ needs.setup-tests.outputs.file-prefix }}-pkgs.txt.part.${{ matrix.part }}"
- name: build tests
if: needs.setup-tests.outputs.should-run
run: |
make build-tests
cat pkgs.txt.part.${{ matrix.part }} | xargs go test -mod=readonly -timeout 30m -tags='norace ledger test_ledger_mock' -run='ZYX_NOPE_NOPE_XYZ'
# This action performs a code coverage assessment but filters out generated code from proto based types
# and grpc services
Expand Down

0 comments on commit c816e22

Please sign in to comment.