diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d6b5331..d657968 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,19 +5,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@master - -# - name: Setup Python -# uses: actions/setup-python@master - -# - name: Generate coverage report -# run: | -# pip install pytest -# pip install pytest-cov -# pytest --cov=./ --cov-report=xml - - name: Upload coverage to Codecov uses: ./ with: - token: ${{secrets.CODECOV_TOKEN}} + #token: ${{secrets.CODECOV_TOKEN}} flags: unittest name: codecov-1 + file: ./sample-coverage/coverage.xml diff --git a/sample-coverage/coverage.xml b/sample-coverage/coverage.xml new file mode 100644 index 0000000..3003eec --- /dev/null +++ b/sample-coverage/coverage.xml @@ -0,0 +1,71 @@ + + + + + + /app + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +