Skip to content

Commit

Permalink
attempt to run pytest directly in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik-Geo committed Mar 22, 2024
1 parent e38a1ad commit f1fc659
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ jobs:
- name: Setup older Python versions
run: |
pixi add python=${{ matrix.python-version }}
pixi remove pytest
pixi add pytest
pixi list
- name: Run Tests
run: pixi run test

Expand Down
2 changes: 1 addition & 1 deletion pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ platforms = ["win-64"]

[tasks]
install = "python -m pip install --no-deps --editable ."
test = { depends_on = ["install"], cmd = "python -m pytest --verbose --cov=geost --cov-report xml --cov-report term"}
test = { depends_on = ["install"], cmd = "pytest --verbose --cov=geost --cov-report xml --cov-report term"}
docs = "sphinx-build -b html docs ./docs/build"
format = "black ."
lint = { depends_on = ["install"], cmd = "ruff check --fix ./geost"}
Expand Down

0 comments on commit f1fc659

Please sign in to comment.