Skip to content

Commit

Permalink
Ooops
Browse files Browse the repository at this point in the history
  • Loading branch information
JDBetteridge committed Sep 13, 2023
1 parent be87789 commit 492427a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ jobs:
run: |
# Gross:
pip install toml
python scripts/requirements.py | pip install -r /dev/stdin
python scripts/requirements.py build | pip install -r /dev/stdin
pip install --no-build-isolation .
python scripts/requirements.py | pip install -r /dev/stdin
python scripts/requirements.py run | pip install -r /dev/stdin
pip install pytest-cov pytest-timeout pytest-xdist pytest-timeout
- name: Run tests
Expand Down
2 changes: 1 addition & 1 deletion scripts/requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
pyproject = toml.load("pyproject.toml")
if "build" in sys.argv:
packages = pyproject["build-system"]["requires"]
elif "requirements" in sys.argv:
elif "run" in sys.argv:
packages = pyproject["project"]["dependencies"]

print("\n".join([pkg for pkg in packages if pkg != "petsc4py"]))

0 comments on commit 492427a

Please sign in to comment.