Skip to content

Commit 783704c

Browse files
authored
[CICD] Run tests in parallel, ensure we run all tests (#121)
## Summary I think this got removed by accident? We were only running boxcli tests instead of all tests. btw, linting darwin is probably overkill (the tests themselves will confirm everything compiles, I guess we could do `go build -v ./...` but since it's pretty fast, it's not a big deal) ## How was it tested? GHA
1 parent 3da01f1 commit 783704c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/tests.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jobs:
3333

3434
test-linux:
3535
runs-on: ubuntu-latest
36-
needs: golangci-lint
3736
steps:
3837
- uses: actions/checkout@v3
3938
- uses: actions/setup-go@v3
@@ -51,11 +50,10 @@ jobs:
5150
- name: Run tests
5251
run: |
5352
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
54-
go test ./boxcli
53+
go test -v ./...
5554
5655
test-darwin:
5756
runs-on: macos-12
58-
needs: golangci-lint
5957
steps:
6058
- uses: actions/checkout@v3
6159
- uses: actions/setup-go@v3
@@ -79,4 +77,4 @@ jobs:
7977
- name: Run tests
8078
run: |
8179
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
82-
go test ./boxcli
80+
go test -v ./...

0 commit comments

Comments
 (0)