Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
willingc committed Nov 17, 2023
1 parent 1540d56 commit a117394
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
24 changes: 10 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit a117394

Please sign in to comment.