Skip to content

Commit

Permalink
cleaner install of deps
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenpawley committed Sep 8, 2024
1 parent 4b0f11f commit 95008f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/publish-quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ jobs:
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -r <(python -c 'import toml; print("\n".join(toml.load("pyproject.toml")["project"]["dependencies"]))')
pip install .
pip install .[documentation]
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -r <(python -c 'import toml; print("\n".join(toml.load("pyproject.toml")["project"]["dependencies"]))')
pip install -r <(python -c 'import toml; print("\n".join(toml.load("pyproject.toml")["project.optional-dependencies"]["testing"]))')
pip install .
pip install .[testing]
- name: Test with pytest
run: |
Expand Down

0 comments on commit 95008f7

Please sign in to comment.