From a1173945eb702abe9f5264b8b1ec12e5be857813 Mon Sep 17 00:00:00 2001 From: Carol Willing Date: Fri, 17 Nov 2023 15:01:17 -0800 Subject: [PATCH] update ci --- .github/workflows/ci.yml | 24 ++++++++++-------------- pyproject.toml | 2 +- 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9413a4ef..09eaecfe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,13 +37,10 @@ jobs: python-version: ${{ matrix.python-version }} - name: "Upgrade pip" - run: | - set -xe - python -VV - python -m site - python -m pip install --upgrade pip - pip install hatch - hatch env create test + run: python -m pip install --upgrade pip + + - name: "Install hatch" + run: pip install hatch - name: "Run tests for ${{ matrix.python-version }}" run: hatch run test:no-cov @@ -59,12 +56,11 @@ jobs: with: python-version: 3.11 - - name: "Install doc dependencies" - run: | - set -xe - python -m pip install --upgrade pip - pip install hatch - hatch env create docs + - name: "Upgrade pip" + run: python -m pip install --upgrade pip + + - name: "Install hatch" + run: pip install hatch - name: "Build docs" - run: hatch run docs:build-ci + run: hatch run docs:ci-build diff --git a/pyproject.toml b/pyproject.toml index f1d706bd..b2796e7c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -70,7 +70,7 @@ include = [ python = ["3.8", "3.9", "3.10", "3.11", "3.12"] [tool.hatch.envs.test] -extra-dependencies = [ +dependencies = [ "attrs>=17.4.0", "azure-datalake-store >= 0.0.30", "azure-identity>=1.3.1",