Skip to content

Commit

Permalink
🔧 (CI): Fix Test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Isotr0py committed Apr 15, 2024
1 parent 1a39012 commit 9e855ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@ jobs:
env:
BIN: ${{ matrix.os == 'macos-latest' && 'Scripts' || 'bin' }}
run: |
python -m venv .venv
- name: Install python dependencies
run: pip install -r requirements-dev.txt
python -m venv venv
- name: Set up Rust
run: rustup show
Expand All @@ -49,7 +46,10 @@ jobs:
maturin develop --features dynamic
- name: Test with pytest
run: pytest test/ --junitxml=junit/test-results-${{ matrix.python-version }}.xml
run: |
source venv/bin/activate
pip install -r requirements-dev.txt
pytest test/ --junitxml=junit/test-results-${{ matrix.python-version }}.xml
- name: Upload pytest test results
uses: actions/upload-artifact@v3
Expand Down
2 changes: 0 additions & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
Pillow
maturin
pytest

0 comments on commit 9e855ec

Please sign in to comment.