2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 16:10:59 +08:00

workflow: 合并codecov与test

This commit is contained in:
耗子
2024-11-02 00:43:01 +08:00
parent 4ebe20d7f8
commit e2345a8285
2 changed files with 6 additions and 27 deletions

View File

@@ -21,4 +21,9 @@ jobs:
run: |
cp config.example.yml config.yml
- name: Run tests
run: sudo go test ./...
run: sudo go test -v -coverprofile="coverage.out" ./...
- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v4
with:
file: ./coverage.out
token: ${{ secrets.CODECOV }}