We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
nproc
NUM_PROCS
1 parent 2f79d0d commit 511d44eCopy full SHA for 511d44e
.github/workflows/build_and_test.yml
@@ -60,7 +60,9 @@ jobs:
60
with:
61
go-version: ${{ matrix.go }}
62
check-latest: true
63
- - run: make GO_VERSION=${{ steps.setup_go.outputs.go-version }} test
+ - name: Get number of CPU cores
64
+ run: echo "NUM_PROCS=$(nproc)" >> $GITHUB_ENV
65
+ - run: make NUM_PROCS=$NUM_PROCS GO_VERSION=${{ steps.setup_go.outputs.go-version }} test
66
- uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
67
68
fail_ci_if_error: false # optional (default = false)
0 commit comments