-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
12 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,38 +53,16 @@ jobs: | |
auto-activate-base: false | ||
python-version: ${{ matrix.PYTHON_VERSION }} | ||
|
||
- name: Unit tests (with doctest and coverage) | ||
shell: bash -l {0} | ||
run: | | ||
conda activate prymer | ||
poetry run pytest --cov=prymer --cov-report=xml --cov-branch --doctest-plus --doctest-modules prymer tests | ||
- name: Install the project's dependencies | ||
run: poetry install | ||
|
||
- name: Test the codebase | ||
run: poetry run pytest | ||
|
||
- name: Upload coverage reports to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
|
||
- name: Style checking | ||
shell: bash -l {0} | ||
run: | | ||
conda activate prymer | ||
poetry run ruff format --check | ||
- name: Run lint | ||
shell: bash -l {0} | ||
run: | | ||
conda activate prymer | ||
poetry run ruff check | ||
- name: Run mypy | ||
shell: bash -l {0} | ||
run: | | ||
conda activate prymer | ||
poetry run mypy | ||
|
||
- name: Run docs | ||
shell: bash -l {0} | ||
run: | | ||
conda activate prymer | ||
set -euo pipefail | ||
poetry run mkdocs build --strict | ||
- name: Test building the documentation | ||
run: set -euo pipefail && poetry run mkdocs build --strict |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters