From 8cc7041f3b7ca94c6a27e720674ea945b1553279 Mon Sep 17 00:00:00 2001 From: Bhupesh Varshney Date: Thu, 9 Feb 2023 11:41:05 +0000 Subject: [PATCH] export envs for unittest --- .github/workflows/python-app.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 417538b..4240d66 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -30,6 +30,10 @@ jobs: pip install flake8 pytest if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - 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: | cd idcard_update python -m unittest