Skip to content

Commit

Permalink
try to hatchify the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rthalley committed Nov 18, 2023
1 parent 8e20923 commit de3dc0d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install poetry
poetry install -E dnssec -E doh -E idna -E trio -E doq
python -m pip install hatch
hatch env create
- name: Typecheck
run: |
poetry run python -m mypy --install-types --non-interactive --disallow-incomplete-defs dns
hatch run python -m mypy --install-types --non-interactive --disallow-incomplete-defs dns
- name: Test with pytest
run: |
poetry run pytest --cov=dns --cov-branch --cov-report=xml:coverage.xml
hatch run pytest --cov=dns --cov-branch --cov-report=xml:coverage.xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
Expand Down

0 comments on commit de3dc0d

Please sign in to comment.