diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index cb770337..7bd52a70 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -82,10 +82,7 @@ jobs: export PATH=${{ matrix.gitpath-prepend }}$PATH which git git --version - pip install -e . --no-build-isolation --no-deps - pushd requirements/ - pixi run --frozen pytest --pyargs cf_units ${{ matrix.posargs }} - popd + pixi run --frozen pytest ${{ matrix.posargs }} - name: "Upload coverage report to Codecov" if: contains(matrix.posargs, '--cov') diff --git a/pyproject.toml b/pyproject.toml index 76b74a29..2efbb627 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -246,7 +246,7 @@ build = { cmd = ["python", "setup.py", "build_ext", "--inplace"], depends-on = [ clean = { cmd = ["python", "setup.py", "clean_cython"] } fmt = "ruff format" lint = "ruff check" -pytest = { cmd = ["pytest"], depends-on = ["build"] } +pytest = { cmd = "cd .. && pytest --pyargs cf_units", depends-on = ["build"] } [tool.pixi.feature.docs.dependencies] sphinx = "*"