export envs for unittest

This commit is contained in:
Bhupesh Varshney 2023-02-09 11:41:05 +00:00
parent f5ec4f6592
commit 8cc7041f3b

View File

@ -30,6 +30,10 @@ jobs:
pip install flake8 pytest pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test Community IDCard Update - name: Test Community IDCard Update
env:
REDDIT_CLIENT_ID: ${{ secrets.REDDIT_CLIENT_ID }}
REDDIT_CLIENT_SECRET: ${{ secrets.REDDIT_CLIENT_SECRET }}
REDDIT_PASSWORD: ${{ secrets.REDDIT_PASSWORD }}
run: | run: |
cd idcard_update cd idcard_update
python -m unittest python -m unittest