move script to module

This commit is contained in:
Bhupesh Varshney
2023-02-09 11:39:22 +00:00
parent 9f78c6f611
commit f5ec4f6592
6 changed files with 7 additions and 4 deletions

View File

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