Skip to content

Commit

Permalink
Run unit tests in CI
Browse files Browse the repository at this point in the history
Add generated coverage report to `.gitignore` when running `pytest` with
coverage locally.
  • Loading branch information
CasperWA committed Aug 30, 2021
1 parent 90184f0 commit 1e1bc48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dic2owl_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ jobs:
- name: Lint with MyPy
run: mypy --ignore-missing-imports --scripts-are-modules dic2owl/dic2owl

# - name: Run unittests
# run: pytest --cov dic2owl/dic2owl tests/
- name: Run unit tests with PyTest
run: pytest --cov dic2owl tests/
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ __pycache__
*.pyc

.mypy*
.coverage

*.dic
*.cif
Expand Down

0 comments on commit 1e1bc48

Please sign in to comment.