diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index e28ffa7f..f7a806da 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -53,4 +53,14 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} file: ./coverage.xml - name: geosnap-codecov \ No newline at end of file + name: geosnap-codecov + + - name: Generate and publish the report + if: | + failure() + && steps.status.outcome == 'failure' + && github.event_name == 'schedule' + && github.repository_owner == 'oturns' + uses: xarray-contrib/issue-from-pytest-log@v1 + with: + log-path: pytest-log.jsonl \ No newline at end of file