From 71966147f47c2d41a5d61a06bebc506849e29813 Mon Sep 17 00:00:00 2001 From: Joseph Hamman Date: Thu, 2 May 2024 15:39:39 -0700 Subject: [PATCH] list env in ci --- .github/workflows/test.yml | 3 ++- pyproject.toml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2259a5c6ee..dd87ef7cc5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,7 +33,8 @@ jobs: pip install hatch - name: Set Up Hatch Env run: | - hatch env create + hatch env create test.py${{ matrix.python-version }}-${{ matrix.numpy-version }}-${{ matrix.dependency-set }} + hatch env run -e test.py${{ matrix.python-version }}-${{ matrix.numpy-version }}-${{ matrix.dependency-set }} - name: Run Tests run: | hatch env run --env test.py${{ matrix.python-version }}-${{ matrix.numpy-version }}-${{ matrix.dependency-set }} run diff --git a/pyproject.toml b/pyproject.toml index 7ff5860d71..948ddca7c4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -120,6 +120,7 @@ run-coverage = "pytest --cov-config=pyproject.toml --cov=pkg --cov=tests" run = "run-coverage --no-cov" run-verbose = "run-coverage --verbose" run-mypy = "mypy src" +list-env = "pip list" [tool.hatch.envs.docs] features = ['docs']