Skip to content

Commit 26f7831

Browse files
authored
simplify config a bit (#644)
1 parent 6857ee4 commit 26f7831

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/ci-tests.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,7 @@ jobs:
8282
export PATH=${{ matrix.gitpath-prepend }}$PATH
8383
which git
8484
git --version
85-
pip install -e . --no-build-isolation --no-deps
86-
pushd requirements/
87-
pixi run --frozen pytest --pyargs cf_units ${{ matrix.posargs }}
88-
popd
85+
pixi run --frozen pytest ${{ matrix.posargs }}
8986
9087
- name: "Upload coverage report to Codecov"
9188
if: contains(matrix.posargs, '--cov')

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ build = { cmd = ["python", "setup.py", "build_ext", "--inplace"], depends-on = [
246246
clean = { cmd = ["python", "setup.py", "clean_cython"] }
247247
fmt = "ruff format"
248248
lint = "ruff check"
249-
pytest = { cmd = ["pytest"], depends-on = ["build"] }
249+
pytest = { cmd = "cd .. && pytest --pyargs cf_units", depends-on = ["build"] }
250250

251251
[tool.pixi.feature.docs.dependencies]
252252
sphinx = "*"

0 commit comments

Comments
 (0)