From 45bd6149cfbccaa018bbcbceab27a6c38597f92e Mon Sep 17 00:00:00 2001 From: sethg Date: Mon, 21 Feb 2022 14:09:30 +0100 Subject: [PATCH] CI updates --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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