-
-
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.
made sure to use [
uv
](https://astral.sh/blog/uv) in CI for hopefull…
…y faster python installations
- Loading branch information
1 parent
11a187c
commit d45afba
Showing
3 changed files
with
14 additions
and
19 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 |
---|---|---|
|
@@ -25,12 +25,10 @@ jobs: | |
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
cache: 'pip' | ||
cache-dependency-path: 'requirements*.txt' | ||
- name: setup uv | ||
run: curl -LsSf https://astral.sh/uv/install.sh | sh | ||
- name: Install python dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r data/requirements.txt -r requirements-dev.txt -r server/main-api/test/requirements.txt | ||
run: uv pip install -r data/requirements.txt -r requirements-dev.txt -r server/main-api/test/requirements.txt | ||
- 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