diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index 76a1135..15ad1b6 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -7,6 +7,7 @@ on: pull_request: branches: - '**' + workflow_dispatch: jobs: build: @@ -38,4 +39,5 @@ jobs: - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 with: - file: ./coverage.xml # 指定生成的覆蓋率報告文件 \ No newline at end of file + file: ./coverage.xml + token: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file