Skip to content

Commit

Permalink
move all files/folder except the app folder
Browse files Browse the repository at this point in the history
  • Loading branch information
LINSANITY03 committed Oct 6, 2024
1 parent 2290266 commit 6790be7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +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
# Move all files EXCEPT the 'app' folder into the 'app' directory
- name: Move files to 'app' folder
run: |
mkdir app
mv * app/
shopt -s extglob
mkdir -p app
mv !(app|.github) app/ # Move everything except 'app' and '.github'
- name: Set PYTHONPATH
run: echo "PYTHONPATH=$PYTHONPATH:$(pwd)/app" >> $GITHUB_ENV
- name: Run tests
Expand Down

0 comments on commit 6790be7

Please sign in to comment.