Skip to content

Commit

Permalink
Add tests to actions
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Feb 14, 2024
1 parent 2c001cc commit 1596318
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ jobs:
run: pycodestyle --max-line-length=120 --ignore=E402,W504,W605,E722 . --exclude=doc

- name: Test with nose
run: nosetests test/unit/connectors/*.py test/unit/*.py test/functional/*.py -v --stop --with-xunit --with-coverage --cover-erase --cover-xml --cover-package=IM,contextualization
#run: nosetests test/unit/connectors/*.py test/unit/*.py test/functional/*.py -v --stop --with-xunit --with-coverage --cover-erase --cover-xml --cover-package=IM,contextualization
run: python -m coverage run --source=. -m unittest discover -s test/unit -p '*.py'

- name: Generate XML coverage report
run: python -m coverage xml

- name: Report coverage
uses: codacy/codacy-coverage-reporter-action@v1
Expand Down

0 comments on commit 1596318

Please sign in to comment.