Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ab2053a

Browse files
committed
remove json report files
1 parent 9b52ad5 commit ab2053a

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@ jobs:
7272
run: |
7373
python -m pip install --only-binary ':all:' --upgrade pip setuptools wheel build
7474
python -m pip install --only-binary ':all:' --no-binary curio --upgrade -e .[${{ matrix.deps }}]
75-
python -m pip install --only-binary ':all:' --upgrade check-manifest pytest-cov pytest-json-report 'pytest<8'
75+
python -m pip install --only-binary ':all:' --upgrade check-manifest pytest-cov 'pytest<8'
7676
- name: Install and update Python dependencies (dev?)
7777
if: ${{ contains( matrix.python-version, 'dev' ) }}
7878
run: |
7979
python -m pip install --pre --upgrade pip setuptools wheel build
8080
python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple --no-binary curio --upgrade -e .[${{ matrix.deps }}]
81-
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
81+
python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple --upgrade check-manifest pytest-cov
8282
- name: Try building with Python build
8383
if: runner.os != 'Windows' # setup.py does not support sdist on Windows
8484
run: |
@@ -101,13 +101,7 @@ jobs:
101101
env:
102102
COLUMNS: 120
103103
run: |
104-
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
105-
- uses: actions/upload-artifact@v3
106-
with:
107-
name: upload pytest timing reports as json
108-
path: |
109-
./report-*.json
110-
104+
pytest --color=yes -raXxs ${{ startsWith(matrix.python-version, 'pypy') && ' ' || '--cov --cov-report=xml' }} --maxfail=15
111105
- name: Upload coverage to Codecov
112106
uses: codecov/codecov-action@v4
113107
with:

0 commit comments

Comments
 (0)