Skip to content

Commit

Permalink
fix(ci): Simplify Python dependency management
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianoKF committed Aug 24, 2023
1 parent a7662d9 commit 3c61f6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ jobs:
pyproject.toml
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f dev-deps.lock ]; then pip install -r dev-deps.lock; fi
pip install -e . --no-deps
pip install -e . -r dev-deps.lock
- name: Cache pre-commit tools
uses: actions/cache@v3
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
cache-dependency-path: |
dev-deps.lock
pyproject.toml
- name: Install dependencies
run: |
pip install -e . -r dev-deps.lock
- name: Build and check
run: |
python -m build
Expand Down

0 comments on commit 3c61f6f

Please sign in to comment.