Skip to content

Commit

Permalink
use pytest and use explicit import
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Feb 20, 2024
1 parent c9b5e50 commit 74afaaf
Show file tree
Hide file tree
Showing 14 changed files with 329 additions and 3,975 deletions.
1 change: 1 addition & 0 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ ignore =
D107,
F403,
F405,
F821,
F841,
FS,
W503
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,8 @@ jobs:
run: pip install tox
- name: Run tests
run: tox run -e tests
- name: Upload coverage to CodeCov
uses: codecov/codecov-action@v4
with:
flags: ${{ matrix.os }}_${{ matrix.python-version }}
if: success()
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,14 @@ debug.log
test/data

.tox

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
.hypothesis/
Loading

0 comments on commit 74afaaf

Please sign in to comment.