Skip to content

Commit

Permalink
build: stop splitting tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdecaf committed Oct 25, 2024
1 parent cec6e81 commit b421497
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
# Settings for test_split
total_test_splits: [5]
index: [0, 1, 2, 3, 4]

steps:
- name: Check out code into the Go module directory
Expand All @@ -27,23 +24,12 @@ jobs:
go-version: stable
id: go

- name: Generate go test Slice
id: test_split
uses: hashicorp-forge/go-test-split-action@v1
with:
total: ${{ matrix.total_test_splits }}
index: ${{ matrix.index }}

- name: Run Tests (Linux)
if: runner.os == 'Linux'
env:
GOTEST_FLAGS: '-run "${{ steps.test_split.outputs.run}}"'
run: make check

- name: Run Short Tests (Non-Linux)
if: runner.os != 'Linux'
env:
GOTEST_FLAGS: '-short -run "${{ steps.test_split.outputs.run}}"'
run: make check

- name: Upload Code Coverage
Expand Down

0 comments on commit b421497

Please sign in to comment.