mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-09 20:36:25 +00:00
25 lines
564 B
YAML
25 lines
564 B
YAML
name: Example workflow for Codecov
|
|
on: [push]
|
|
jobs:
|
|
run:
|
|
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: .action
|
|
with:
|
|
token: ${{secrets.CODECOV_TOKEN}}
|
|
flags: unittest
|
|
name: codecov-1
|
|
#badstuff: morebadstuff
|