Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CI python #118

Merged
merged 2 commits into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update CI python version
Because python 3.6 has reached EOL and was dropped from the
ubuntu-latest image (22.04), the CI will fail when setting up the
environment.
See #117

This updates the python version in the CI matrix to use the oldest
supported minor python verion.
The torch version is also updated to match the available build on PyPI.
Testing on oldest torch 2.x is also added.
  • Loading branch information
leejuyuu committed Jun 5, 2024
commit 950ccc63255e0207046edcee17a0bff926b4724f
4 changes: 2 additions & 2 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.6", "3.7"]
pytorch-version: ["1.2"]
python-version: ["3.8"]
pytorch-version: ["1.4", "2.0"]

steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# compatible with yours. If so, install PyTorch with the correct CUDA version
# as instructed on https://pytorch.org/get-started/locally/
torch
pytest==3.2.5
pytest-cov==2.5.1
pytest>=8,<9
pytest-cov>=2,<3