From db13d32d557fa81d4481b7caf3106934d214cfa6 Mon Sep 17 00:00:00 2001 From: Carol Willing Date: Fri, 17 Nov 2023 15:23:34 -0800 Subject: [PATCH] more more more --- .github/workflows/ci.yml | 2 +- pyproject.toml | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) 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 = [