Skip to content

Commit 4673b0d

Browse files
author
Furkhat Kasymov Genii Uulu
committed
adjust workflows to run tests in parallel
1 parent a7f0b7a commit 4673b0d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,5 @@ jobs:
5656
CASTAI_API_TOKEN: ${{ secrets.CASTAI_API_TOKEN }}
5757
GCP_CREDENTIALS: ${{ secrets.GCP_CREDENTIALS }}
5858
run: |
59-
go test -timeout 30m ./e2e
59+
go test -timeout 30m -parallel=10 ./e2e
6060

.github/workflows/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
CGO_ENABLED: 0
5555

5656
- name: Test
57-
run: go test -short -race ./...
57+
run: go test -short -race -parallel=10 ./...
5858

5959
- name: Set up QEMU
6060
uses: docker/setup-qemu-action@v2

.github/workflows/pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
CGO_ENABLED: 0
5353

5454
- name: Test
55-
run: go test -short -race ./...
55+
run: go test -short -race -parallel=10 ./...
5656

5757
- name: Set up QEMU
5858
uses: docker/setup-qemu-action@v2

0 commit comments

Comments
 (0)