[CI] GH-runner stores artifacts like CircleCI (#5318)
This commit is contained in:
7
.github/workflows/self-push.yml
vendored
7
.github/workflows/self-push.yml
vendored
@@ -51,4 +51,9 @@ jobs:
|
|||||||
USE_CUDA: yes
|
USE_CUDA: yes
|
||||||
run: |
|
run: |
|
||||||
source .env/bin/activate
|
source .env/bin/activate
|
||||||
python -m pytest -n 2 --dist=loadfile -s -v ./tests/
|
python -m pytest -n 2 --dist=loadfile -s -v ./tests/ | tee output.txt
|
||||||
|
- name: Upload output.txt
|
||||||
|
uses: actions/upload-artifact@v1
|
||||||
|
with:
|
||||||
|
name: pytest_output
|
||||||
|
path: output.txt
|
||||||
|
|||||||
8
.github/workflows/self-scheduled.yml
vendored
8
.github/workflows/self-scheduled.yml
vendored
@@ -46,5 +46,9 @@ jobs:
|
|||||||
USE_CUDA: yes
|
USE_CUDA: yes
|
||||||
run: |
|
run: |
|
||||||
source .env/bin/activate
|
source .env/bin/activate
|
||||||
python -m pytest -n 1 --dist=loadfile -s -v ./tests/
|
python -m pytest -n 1 --dist=loadfile -s -v ./tests/ | tee output.txt
|
||||||
|
- name: Upload output.txt
|
||||||
|
uses: actions/upload-artifact@v1
|
||||||
|
with:
|
||||||
|
name: pytest_output
|
||||||
|
path: output.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user