Skip to content

Commit

Permalink
fix test again
Browse files Browse the repository at this point in the history
  • Loading branch information
Yiwen Yuan committed Oct 14, 2024
1 parent c9c55a6 commit 1c2326a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Testing PyTorch 2.2
name: Testing PyTorch 2.3

on: # yamllint disable-line rule:truthy
push:
Expand Down Expand Up @@ -27,15 +27,19 @@ jobs:

- name: Install PyTorch
run: |
python3 -m pip install torch==2.3.0 --extra-index-url https://download.pytorch.org/whl/cpu --break-system-packages
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install torch==2.3.0 --extra-index-url https://download.pytorch.org/whl/cpu
python3 -m pip install --no-index pyg-lib==0.4.0 -f https://data.pyg.org/whl/torch-2.3.0+cpu.html
- name: Install main package
run: |
source .venv/bin/activate
pip install -e .[full,test]
- name: Run tests
run: |
source .venv/bin/activate
pytest --cov --cov-report=xml
- name: Upload coverage
Expand Down

0 comments on commit 1c2326a

Please sign in to comment.