mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-09 00:26:25 +00:00
local tests
This commit is contained in:
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
|
||||||
Reference in New Issue
Block a user