Skip to content

Commit

Permalink
Fix test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ulbqb committed Nov 21, 2022
1 parent c6175cb commit d8420de
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ jobs:
env:
USE_PRELOAD: 1,4
SAVE_BRANCH_LAUNCH_DEPTH: 1
CGO_CFLAGS: "-I${GITHUB_WORKSPACE}/tools/sodium/linux_amd64/include"
CGO_LDFLAGS: "-L${GITHUB_WORKSPACE}/tools/sodium/linux_amd64/lib -lsodium"
CGO_CFLAGS: "-I${{ github.workspace }}/tools/sodium/linux_amd64/include"
CGO_LDFLAGS: "-L${{ github.workspace }}/tools/sodium/linux_amd64/lib -lsodium"
run: |
cat pkgs.txt.part.${{ matrix.part }} | xargs go test -mod=readonly -timeout 30m -coverprofile=${{ matrix.part }}profile.out -covermode=atomic -tags='norace ledger test_ledger_mock goleveldb gcc libsodium'
if: env.GIT_DIFF
Expand Down Expand Up @@ -232,8 +232,8 @@ jobs:
USE_PREFETCH: NO
USE_PRELOAD: 1,4
SAVE_BRANCH_LAUNCH_DEPTH: 1
CGO_CFLAGS: "-I${GITHUB_WORKSPACE}/tools/sodium/linux_amd64/include"
CGO_LDFLAGS: "-L${GITHUB_WORKSPACE}/tools/sodium/linux_amd64/lib -lsodium"
CGO_CFLAGS: "-I${{ github.workspace }}/tools/sodium/linux_amd64/include"
CGO_LDFLAGS: "-L${{ github.workspace }}/tools/sodium/linux_amd64/lib -lsodium"
run: |
xargs --arg-file=pkgs.txt.part.${{ matrix.part }} go test -mod=readonly -timeout 30m -race -tags='cgo ledger test_ledger_mock goleveldb gcc libsodium'
if: env.GIT_DIFF
Expand Down

0 comments on commit d8420de

Please sign in to comment.