mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-13 22:47:25 +00:00
local tests
This commit is contained in:
parent
6aa7ac1896
commit
9d47efe7b9
1 changed files with 24 additions and 0 deletions
24
.github/workflows/main.yml
vendored
Normal file
24
.github/workflows/main.yml
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
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
|
||||||
Loading…
Reference in a new issue