Skip to content

Commit

Permalink
Fix unit test again on Github CICD
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianWilhelm committed Dec 28, 2023
1 parent 544347b commit c3ff79d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
# Fetch all tags
fetch-depth: 0

- name: Install hatch
run: python -m pip install --upgrade hatch
- name: Install Hatch & pre-commit
run: pip install --upgrade --pre hatch pre-commit

- name: Build distribution
run: hatch build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
run: hatch run lint:all

- name: Run tests and track code coverage
run: hatch run test:ci
run: hatch run ci

- name: Coveralls Parallel
uses: coverallsapp/github-action@master
Expand Down
5 changes: 2 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,8 @@ This often provides additional considerations and avoids unnecessary work.
```
to look for recurring communication patterns.

5. Please check that your changes don't break any unit tests with
`hatch run test:cov` or `hatch run test:no-cov` to run the unitest with
or without coverage reports, respectively.
5. Please check that your changes don't break any unit tests with `hatch run cov` or
`hatch run no-cov` to run the unitest with or without coverage reports, respectively.
6. For code hygiene, execute `hatch run lint:all` in order to run [flake8], [isort], [black], [mypy], etc.

### Submit your contribution
Expand Down

0 comments on commit c3ff79d

Please sign in to comment.