Skip to content

Commit

Permalink
Update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Juliette-Gerbaux committed Dec 11, 2024
1 parent 6e10b3f commit 1581094
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,31 @@ jobs:

- name: Test
run: |
pytest
pytest --cov --cov-report xml
- name: Archive code coverage results
uses: actions/upload-artifact@v4
with:
name: python-code-coverage-report
path: coverage.xml

- name: Check typing
run: |
python -m mypy src
- name: Check imports sort order
uses: isort/isort-action@v1
with:
sort-paths: src, tests
configuration: --profile black --check-only --diff
requirements-files: "requirements.txt requirements-dev.txt"

- name: Check formatting
uses: psf/black@stable
with:
# Version of Black should match the versions set in `requirements-dev.txt`
version: "~=23.7.0"
options: --check --diff



0 comments on commit 1581094

Please sign in to comment.