Skip to content

Commit

Permalink
Fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jfantinhardesty committed Sep 15, 2023
1 parent d146eaa commit 54c570d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ jobs:
- name: Create Directory Structure
run: |-
sudo mkdir -p ${{ env.MOUNT_DIR }}
sudo chown -R `whoami` ${{ env.MOUNT_DIR }}
chmod 777 ${{ env.MOUNT_DIR }}
sudo mkdir -p ${{ env.TEMP_DIR }}
sudo chown -R `whoami` ${{ env.TEMP_DIR }}
chmod 777 ${{ env.TEMP_DIR }}
- name: Go module cache
uses: actions/cache@v3
Expand Down Expand Up @@ -108,8 +112,8 @@ jobs:
echo "\"region\"": "\"${{ secrets.S3TEST_REGION }}\"" >> $cnfFile
echo "}" >> $cnfFile
- name: UT Code Coverage
run: go test -v -timeout=1h ./... --tags=unittest,storagetest -covermode count -coverprofile ./cloudfuse_ut.cov
# - name: UT Code Coverage
# run: go test -v -timeout=1h ./... --tags=unittest,storagetest -covermode count -coverprofile ./cloudfuse_ut.cov

- name: Build coverage binary
run: go test -coverpkg="./..." -covermode=count -c -o cloudfuse.test
Expand Down

0 comments on commit 54c570d

Please sign in to comment.