Skip to content

Commit

Permalink
Remove pytest from deps, modify ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AuguB committed Dec 8, 2023
1 parent 684b5eb commit b4f9ced
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,16 @@ jobs:
python-version: 3.10.13

- name: Install Dependencies
run: pip install -r requirements.txt
run: |
pip install -r requirements.txt
pip install pytest
- name: Run Tests with pytest
run: pytest pytest/test_sanity.py
run: pytest pytest/test_sanity.py --junitxml=test-report.xml
continue-on-error: true # Continue to the next step even if tests fail

- name: Upload Test Artifacts
uses: actions/upload-artifact@v2
with:
name: test-results
path: test-reports
path: test-report.xml
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ torch>=1.1.0
sphinx-tabs
pymc>=5.1.0
arviz==0.13.0
pytest

0 comments on commit b4f9ced

Please sign in to comment.