##// END OF EJS Templates
try to upload json reports
Matthias Bussonnier -
Show More
@@ -62,7 +62,7 b' jobs:'
62 62 run: |
63 63 python -m pip install --upgrade pip setuptools wheel build
64 64 python -m pip install --upgrade -e .[${{ matrix.deps }}]
65 python -m pip install --upgrade check-manifest pytest-cov
65 python -m pip install --upgrade check-manifest pytest-cov pytest-json-report
66 66 - name: Try building with Python build
67 67 if: runner.os != 'Windows' # setup.py does not support sdist on Windows
68 68 run: |
@@ -75,7 +75,13 b' jobs:'
75 75 env:
76 76 COLUMNS: 120
77 77 run: |
78 pytest --color=yes -raXxs ${{ startsWith(matrix.python-version, 'pypy') && ' ' || '--cov --cov-report=xml' }}
78 pytest --color=yes -raXxs ${{ startsWith(matrix.python-version, 'pypy') && ' ' || '--cov --cov-report=xml' }} --json-report --json-report-file=./report-${{ matrix.python-version }}-${{runner.os}}.json
79 - uses: actions/upload-artifact@v3
80 with:
81 name: upload pytest timing reports as json
82 path: |
83 ./report-*.json
84
79 85 - name: Upload coverage to Codecov
80 86 uses: codecov/codecov-action@v3
81 87 with:
General Comments 0
You need to be logged in to leave comments. Login now