Update coverage.yml
This commit is contained in:
parent
5526de0461
commit
34ad3c4c30
1 changed files with 6 additions and 1 deletions
7
.github/workflows/coverage.yml
vendored
7
.github/workflows/coverage.yml
vendored
|
|
@ -12,6 +12,12 @@ jobs:
|
|||
uses: actions/setup-python@master
|
||||
with:
|
||||
python-version: 3.x
|
||||
- name: create-json
|
||||
uses: jsdaniell/create-json@1.2.2
|
||||
with:
|
||||
name: "oauth.json"
|
||||
dir: "tests/"
|
||||
json: ${{ secrets.OAUTH_JSON }}
|
||||
- name: Generate coverage report
|
||||
env:
|
||||
HEADERS_AUTH: ${{ secrets.HEADERS_AUTH }}
|
||||
|
|
@ -21,7 +27,6 @@ jobs:
|
|||
pip install coverage
|
||||
curl -o tests/test.mp3 https://www.kozco.com/tech/piano2-CoolEdit.mp3
|
||||
cat <<< "$HEADERS_AUTH" > tests/headers_auth.json
|
||||
cat <<< "$OAUTH_JSON" > tests/oauth.json
|
||||
cat <<< "$TEST_CFG" > tests/test.cfg
|
||||
coverage run
|
||||
coverage xml
|
||||
|
|
|
|||
Loading…
Reference in a new issue