-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tested if dancing with venv activation/deactivation fixes the path re…
…solution
- Loading branch information
1 parent
22bded1
commit 7a89179
Showing
3 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,10 +28,13 @@ jobs: | |
- name: setup uv | ||
run: curl -LsSf https://astral.sh/uv/install.sh | sh | ||
- name: Install python dependencies | ||
# activating and deactiviating because of https://stackoverflow.com/questions/35045038/how-do-i-use-pytest-with-virtualenv | ||
run: | | ||
uv venv | ||
source .venv/bin/activate | ||
uv pip install -r data/requirements.txt -r requirements-dev.txt | ||
deactivate | ||
source .venv/bin/activate | ||
- name: Run pre-commit | ||
continue-on-error: ${{ github.ref == 'refs/heads/main' }} | ||
uses: pre-commit/[email protected] | ||
|
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