diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 151a31a..ba17c19 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -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