Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
Added explicit e2e failure file for logs
Browse files Browse the repository at this point in the history
  • Loading branch information
miararoy committed Oct 2, 2023
1 parent 915caf7 commit 839d738
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,17 @@ jobs:
PINECONE_ENVIRONMENT: ${{ matrix.pinecone-plan == 'paid' && secrets.PINECONE_ENVIRONMENT_3 || secrets.PINECONE_ENVIRONMENT_4 }}
PINECONE_API_KEY: ${{ matrix.pinecone-plan == 'paid' && secrets.PINECONE_API_KEY_3 || secrets.PINECONE_API_KEY_4 }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
CE_LOG_FILENAME: e2e.log
run: poetry run pytest -n 3 --dist loadscope --html=report_e2e.html --self-contained-html tests/e2e
- name: upload pytest report.html
uses: actions/upload-artifact@v3
if: always()
with:
name: dataset-pytest-report-py${{ matrix.python-version }}
name: pytest-report-py${{ matrix.python-version }}
path: report*.html
- name: upload pytest report.html
uses: actions/upload-artifact@v3
if: failure()
with:
name: e2e-log-failure-report-py${{ matrix.python-version }}
path: e2e.log

0 comments on commit 839d738

Please sign in to comment.