diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 90e3ff8..2756329 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -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