Files
codecov-action/.github/workflows/main.yml
Joe Becher 9d47efe7b9 local tests
2019-08-24 12:24:31 -04:00

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