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