CI: fix upload-artifact (#11962)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
This commit is contained in:
parent
3579a3083f
commit
9b0942d731
|
@ -53,8 +53,9 @@ jobs:
|
|||
- name: Upload pytest results
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: pytest-results-${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.requires }}
|
||||
path: junit/test-results-${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.requires }}.xml
|
||||
name: pytest-results-${{ runner.os }}-torch${{ matrix.pytorch-version }}
|
||||
path: junit/test-results-${{ runner.os }}-torch${{ matrix.pytorch-version }}.xml
|
||||
if-no-files-found: error
|
||||
if: failure()
|
||||
|
||||
- name: Statistics
|
||||
|
|
|
@ -147,8 +147,9 @@ jobs:
|
|||
- name: Upload pytest results
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: pytest-results-${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.requires }}-${{ matrix.release }}
|
||||
path: junit/test-results-${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.requires }}-${{ matrix.release }}.xml
|
||||
name: pytest-results-${{ runner.os }}-py${{ matrix.python-version }}-${{ matrix.requires }}-${{ matrix.release }}
|
||||
path: junit/test-results-${{ runner.os }}-py${{ matrix.python-version }}-${{ matrix.requires }}-${{ matrix.release }}.xml
|
||||
if-no-files-found: error
|
||||
if: failure()
|
||||
|
||||
- name: Statistics
|
||||
|
|
|
@ -57,15 +57,16 @@ jobs:
|
|||
|
||||
- name: Tests
|
||||
run: |
|
||||
coverage run --source pytorch_lightning -m pytest tests -v --junitxml=junit/test-results-${{ runner.os }}-${{ matrix.python-version }}.xml
|
||||
coverage run --source pytorch_lightning -m pytest tests -v --junitxml=junit/test-results-${{ runner.os }}-py${{ matrix.python-version }}.xml
|
||||
env:
|
||||
PL_RUN_SLOW_TESTS: 1
|
||||
|
||||
- name: Upload pytest test results
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: pytest-results-${{ runner.os }}-${{ matrix.python-version }}
|
||||
path: junit/test-results-${{ runner.os }}-${{ matrix.python-version }}.xml
|
||||
name: pytest-results-${{ runner.os }}-py${{ matrix.python-version }}
|
||||
path: junit/test-results-${{ runner.os }}-py${{ matrix.python-version }}.xml
|
||||
if-no-files-found: error
|
||||
if: failure()
|
||||
|
||||
- name: Statistics
|
||||
|
|
Loading…
Reference in New Issue