From c019da9e5966a8167025325d5706b7dcd1a09963 Mon Sep 17 00:00:00 2001 From: Patrick Ogenstad Date: Wed, 10 Jul 2024 16:03:06 +0200 Subject: [PATCH] Reactivate coveralls --- .github/workflows/main.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 70f2721f..6dc6b7c5 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -86,13 +86,17 @@ jobs: if: ${{ matrix.platform != 'windows-2019' }} - name: Run pytest - run: poetry run pytest --cov=nornir --cov-report=term-missing + run: poetry run pytest --cov=nornir --cov-report=term-missing --cov-report xml if: ${{ matrix.platform == 'windows-2019' }} - name: Run nbval run: make nbval if: ${{ matrix.platform != 'windows-2019' }} + - name: Report coverage + uses: coverallsapp/github-action@v2 + if: ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.11' }} + # release: # name: Releasing to pypi # runs-on: ubuntu-latest