Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
yxjiang committed May 25, 2024
1 parent 4bf1ca1 commit 204a0ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/extract_extra_deps.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# .github/workflows/extract_extra_deps.py
# .github/workflows/extract_extras.py
import toml

pyproject = toml.load("pyproject.toml")
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ jobs:
- name: Install dependencies including optional dependencies
run: |
python -m pip install toml
EXTRAS=$(python .github/workflows/extract_extra_deps.py)
EXTRAS=$(python .github/workflows/extract_extras.py)
echo "EXTRAS=$EXTRAS"
poetry install $(echo $EXTRAS | sed "s/,/ --extras /g")
poetry install $(echo $EXTRAS | sed 's/\([^,]\+\)/--extras \1/g' | tr '\n' ' ')
- name: Install pytest
run: |
Expand Down

0 comments on commit 204a0ce

Please sign in to comment.