Skip to content

Commit

Permalink
dynamically create app folder for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
LINSANITY03 committed Oct 6, 2024
1 parent c503462 commit 2290266
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,13 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
# Create the 'app' directory and move all files into it
- name: Move files to 'app' folder
run: |
mkdir app
mv * app/
- name: Set PYTHONPATH
run: echo "PYTHONPATH=$PYTHONPATH:$(pwd)" >> $GITHUB_ENV
run: echo "PYTHONPATH=$PYTHONPATH:$(pwd)/app" >> $GITHUB_ENV
- name: Run tests
working-directory: ./tests
run: |
Expand Down

0 comments on commit 2290266

Please sign in to comment.