chore: add codecov to test workflow

zipped-static
AaronLiu 3 years ago committed by GitHub
parent 86877aef4b
commit b5e8e4843f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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.*

Loading…
Cancel
Save