fix: test logging test output

This commit is contained in:
Eduardo Chiarotti
2024-07-04 19:11:05 -03:00
parent 5b12de1d05
commit a1df03969c
2 changed files with 29 additions and 4 deletions

View File

@@ -27,5 +27,23 @@ jobs:
pip install poetry
poetry lock && poetry install
- name: Print Environment Information
run: |
python --version
pip list
env
- name: Clear Caches
run: |
sudo rm -rf ~/.cache/pypoetry
sudo rm -rf ~/.cache/pip
- name: Run tests
run: poetry run pytest tests
run: poetry run pytest tests --capture=tee-sys --junitxml=test-results.xml
- name: Upload Test Results
if: always()
uses: actions/upload-artifact@v3
with:
name: test-results
path: test-results.xml