From e77bdfaddf9731897db32c1bbc496775a26d9eff 2024-10-01 07:55:55 From: M Bussonnier Date: 2024-10-01 07:55:55 Subject: [PATCH] remove json report files (#14529) We don't use this anymore --- diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index eb8b2b3..3543bdb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -72,13 +72,13 @@ jobs: run: | python -m pip install --only-binary ':all:' --upgrade pip setuptools wheel build python -m pip install --only-binary ':all:' --no-binary curio --upgrade -e .[${{ matrix.deps }}] - python -m pip install --only-binary ':all:' --upgrade check-manifest pytest-cov pytest-json-report 'pytest<8' + python -m pip install --only-binary ':all:' --upgrade check-manifest pytest-cov 'pytest<8' - name: Install and update Python dependencies (dev?) if: ${{ contains( matrix.python-version, 'dev' ) }} run: | python -m pip install --pre --upgrade pip setuptools wheel build python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple --no-binary curio --upgrade -e .[${{ matrix.deps }}] - python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple --upgrade check-manifest pytest-cov pytest-json-report + python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple --upgrade check-manifest pytest-cov - name: Try building with Python build if: runner.os != 'Windows' # setup.py does not support sdist on Windows run: | @@ -101,13 +101,7 @@ jobs: env: COLUMNS: 120 run: | - 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 --maxfail=15 - - uses: actions/upload-artifact@v3 - with: - name: upload pytest timing reports as json - path: | - ./report-*.json - + pytest --color=yes -raXxs ${{ startsWith(matrix.python-version, 'pypy') && ' ' || '--cov --cov-report=xml' }} --maxfail=15 - name: Upload coverage to Codecov uses: codecov/codecov-action@v4 with: