Skip to content

Commit

Permalink
Put tokens in environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
deanishe committed May 20, 2020
1 parent 052128e commit a388e2c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/run-tests.yml
Expand Up @@ -11,6 +11,9 @@ on:

jobs:
run:
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
runs-on: macos-latest
strategy:
matrix:
Expand Down Expand Up @@ -38,10 +41,10 @@ jobs:
run: pip install -r requirements-ci.txt

- name: Codacy
run: python-codacy-coverage -t ${{ secrets.CODACY_PROJECT_TOKEN }} -r coverage.xml -c ${{ github.sha }}
run: python-codacy-coverage -r coverage.xml -c ${{ github.sha }}

- name: Coveralls
run: COVERALLS_REPO_TOKEN=${{ secrets.COVERALLS_REPO_TOKEN }} coveralls
run: coveralls

- name: Codecov
run: bash <(curl -s https://codecov.io/bash)

0 comments on commit a388e2c

Please sign in to comment.