New data retrival #17
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: API Directory Changes Tests | |
on: | |
push: | |
paths: | |
- 'monkelib/API/**' | |
pull_request: | |
paths: | |
- 'monkelib/API/**' | |
workflow_dispatch: | |
jobs: | |
test-init-script: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Set up Python 3.x | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- name: Install Dependencies | |
run: pip install -r requirements.txt | |
- name: Create Secrets Directory | |
run: mkdir -p ./secrets | |
- name: Set up Local Environment File | |
run: echo '{"token":"${{ secrets.GH_PAT }}"}' > ./secrets/pat.json | |
shell: bash | |
- name: Test with Pytest | |
run: | | |
python -m pytest monkelib/Tests -v |