Skip to content

Commit

Permalink
Try an alternate method to disable buildvcs error
Browse files Browse the repository at this point in the history
  • Loading branch information
edmc-ss committed Mar 1, 2024
1 parent 0e65057 commit 8f0642b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/run-unit-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ cd /gopathroot/src/github.com/NVIDIA/proxyfs

go get github.com/mattn/goveralls

git config --global --add safe.directory .

make ci

# $COVERALLS_TOKEN must be configured in the CI/CD environment
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
fetch-depth: 0
submodules: false
- name: Build, run unit tests, and get coverage
run: docker run -e "GOFLAGS=-buildvcs=false" -e "GOFLAGS=-buildvcs=false COVERALLS_TOKEN=${{ secrets.COVERALLS_TOKEN }}" -e "GIT_BRANCH=${{ github.ref }}" --cap-add SYS_ADMIN --device /dev/fuse -i -v `pwd`:/gopathroot/src/github.com/NVIDIA/proxyfs golang:1.22 /bin/bash -c "/gopathroot/src/github.com/NVIDIA/proxyfs/.github/workflows/run-unit-tests.sh"
run: docker run -e "GOFLAGS=-buildvcs=false COVERALLS_TOKEN=${{ secrets.COVERALLS_TOKEN }}" -e "GIT_BRANCH=${{ github.ref }}" --cap-add SYS_ADMIN --device /dev/fuse -i -v `pwd`:/gopathroot/src/github.com/NVIDIA/proxyfs golang:1.22 /bin/bash -c "/gopathroot/src/github.com/NVIDIA/proxyfs/.github/workflows/run-unit-tests.sh"
- name: Slack Notification
uses: rtCamp/action-slack-notify@v2
env:
Expand Down

0 comments on commit 8f0642b

Please sign in to comment.