Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ker0olos committed Jun 10, 2024
1 parent ff97917 commit 28c20dc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@ jobs:
run: |
pip install -e .
pip install -r requirements.txt
- run: sh download_ml_models.sh
- if: ${{ runner.os == 'Windows' }}
run: powershell.exe -File download_ml_models.ps1
- if: ${{ runner.os != 'Windows' }}
run: sh download_ml_models.sh
- run: python -m pytest --isort --black
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"--length-sort"
],
"python.analysis.autoImportCompletions": true,
//
"files.exclude": {
"**/.git": true,
"**/.venv": true,
Expand All @@ -27,8 +28,9 @@
"explorer.fileNesting.expand": false,
"explorer.fileNesting.patterns": {
"README.md": "LICENSE,.gitignore",
"requirements.txt": "setup.py",
"requirements.txt": "setup.py,pyproject.toml",
},
//
"discord.enabled": true,
"discord.buttonEnabled": true,
"discord.buttonLabel": "Try Rein",
Expand Down
2 changes: 2 additions & 0 deletions download_ml_models.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env pwsh
Invoke-WebRequest -Uri "https://storage.googleapis.com/mediapipe-models/face_landmarker/face_landmarker/float16/1/face_landmarker.task" -OutFile "face_landmarker.task"

0 comments on commit 28c20dc

Please sign in to comment.