fix envvars for tests
This commit is contained in:
parent
824253e29c
commit
a03d90d858
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in New Issue