diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 09eaecfe..58184d21 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,7 @@ jobs: run: pip install hatch - name: "Run tests for ${{ matrix.python-version }}" - run: hatch run test:no-cov + run: hatch run test docs: name: Documentation diff --git a/pyproject.toml b/pyproject.toml index 1beb665f..e5911bfd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -66,10 +66,10 @@ include = [ "/papermill", ] -[[tool.hatch.envs.test.matrix]] +[[tool.hatch.envs.default.matrix]] python = ["3.8", "3.9", "3.10", "3.11", "3.12"] -[tool.hatch.envs.test] +[tool.hatch.envs.default] dependencies = [ "attrs>=17.4.0", "azure-datalake-store >= 0.0.30", @@ -105,9 +105,10 @@ dependencies = [ "wheel>=0.31.0", ] -[tool.hatch.envs.test.scripts] +[tool.hatch.envs.default.scripts] cov = "pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=hatch_init --cov=tests papermill/tests" no-cov = "cov --no-cov" +test = "pytest papermill/tests" [tool.hatch.envs.docs] dependencies = [