Skip to content

Commit

Permalink
CI updates
Browse files Browse the repository at this point in the history
  • Loading branch information
geographika committed Feb 21, 2022
1 parent aacf65b commit 45bd614
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ jobs:
flake8 --ignore=E501,E121,E122,E123,E126,E127,E128 tests --exclude=*/basemaps/*,*/ms-ogc-workshop/*
- name: Test with pytest
run: |
pytest --ignore=tests/mapfiles --cov mappyfile --cov-report term-missing docs/examples/api/ misc/ tests/
pytest --ignore=tests/mapfiles --cov mappyfile --cov-report xml docs/examples/api/ misc/ tests/
# https://pytest-cov.readthedocs.io/en/latest/reporting.html
- name: Command line tests
run: |
mappyfile schema mapfile-schema.json
Expand All @@ -38,6 +39,7 @@ jobs:
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.xml

# see https://coveralls-python.readthedocs.io/en/latest/usage/configuration.html#github-actions-support
# see https://github.com/marketplace/actions/coveralls-github-action
Expand Down

0 comments on commit 45bd614

Please sign in to comment.