Skip to content

Commit

Permalink
Fix failing CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dalonsoa committed Nov 15, 2023
1 parent 14eb701 commit 3952090
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install and build
run: python -m pip install -r requirements-dev.txt
run: |
python -m pip install -r requirements-dev.txt
python -m pip install .
- name: Run tests
run: python -m pytest
2 changes: 1 addition & 1 deletion tests/test_example_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def collect_examples() -> list[Path]:
@mark.parametrize("example", collect_examples())
def test_examples(example: Path, tmp_path: Path) -> None:
result = subprocess.run(
["python", "-m", "wsimod", str(example), "-o", str(tmp_path)],
["wsimod", str(example), "-o", str(tmp_path)],
shell=True,
check=True,
)
Expand Down

0 comments on commit 3952090

Please sign in to comment.