diff --git a/.github/workflows/self-push.yml b/.github/workflows/self-push.yml index 68ab10fa0c..99ac75e899 100644 --- a/.github/workflows/self-push.yml +++ b/.github/workflows/self-push.yml @@ -51,4 +51,9 @@ jobs: USE_CUDA: yes run: | 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 diff --git a/.github/workflows/self-scheduled.yml b/.github/workflows/self-scheduled.yml index 8a5c641af5..016bd333a5 100644 --- a/.github/workflows/self-scheduled.yml +++ b/.github/workflows/self-scheduled.yml @@ -46,5 +46,9 @@ jobs: USE_CUDA: yes run: | 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