fix envvars for tests

This commit is contained in:
Cadey Ratio 2020-07-16 11:22:22 -04:00
parent 824253e29c
commit a03d90d858
1 changed files with 13 additions and 8 deletions

View File

@ -10,11 +10,16 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Build - name: Build
run: cargo build --all run: cargo build --all
- name: Run tests - name: Run tests
run: | run: |
cargo test cargo test
(cd lib/jsonfeed && cargo test) (cd lib/jsonfeed && cargo test)
(cd lib/patreon && cargo test) (cd lib/patreon && cargo test)
env:
PATREON_ACCESS_TOKEN: ${{ secrets.PATREON_ACCESS_TOKEN }}
PATREON_CLIENT_ID: ${{ secrets.PATREON_CLIENT_ID }}
PATREON_CLIENT_SECRET: ${{ secrets.PATREON_CLIENT_SECRET }}
PATREON_REFRESH_TOKEN: ${{ secrets.PATREON_REFRESH_TOKEN }}