chore: add codecov to test workflow

This commit is contained in:
AaronLiu
2022-04-20 19:05:21 +08:00
committed by GitHub
parent 86877aef4b
commit b5e8e4843f

View File

@@ -31,14 +31,5 @@ jobs:
- name: Test - name: Test
run: go test -coverprofile=coverage.txt -covermode=atomic ./... run: go test -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload binary files (linux_arm) - name: Upload coverage reports to Codecov
uses: actions/upload-artifact@v2 uses: codecov/codecov-action@v2
with:
name: cloudreve_linux_arm
path: release/cloudreve*linux_arm.*
- name: Upload binary files (linux_arm64)
uses: actions/upload-artifact@v2
with:
name: cloudreve_linux_arm64
path: release/cloudreve*linux_arm64.*