-
Notifications
You must be signed in to change notification settings - Fork 4
Update GitHub Actions for recent TensorFlow and PyTorch versions #115
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
Changes from all commits
5831396
75bd3f8
72368e4
a4ed251
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,7 +12,7 @@ jobs: | |
| strategy: | ||
| max-parallel: 4 | ||
| matrix: | ||
| python-version: ["3.8", "3.9", "3.10"] | ||
| python-version: ["3.9", "3.10", "3.11"] | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not so important, but Python 3.9 support will end very soon (in the next weeks). We could already test with 3.10 to 3.12 (or even 3.13). |
||
|
|
||
| steps: | ||
| - uses: actions/checkout@v3 | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -15,22 +15,21 @@ jobs: | |||||||||||||
| max-parallel: 4 | ||||||||||||||
| matrix: | ||||||||||||||
| include: | ||||||||||||||
| - python-version: 3.8 | ||||||||||||||
| tf-version: 2.5 | ||||||||||||||
| - python-version: 3.9 | ||||||||||||||
| tf-version: 2.8 | ||||||||||||||
| - python-version: "3.10" | ||||||||||||||
| - python-version: "3.9" | ||||||||||||||
| tf-version: 2.11 | ||||||||||||||
| - python-version: "3.10" | ||||||||||||||
| tf-version: 2.13 | ||||||||||||||
| - python-version: "3.11" | ||||||||||||||
| tf-version: 2.15 | ||||||||||||||
|
|
||||||||||||||
| steps: | ||||||||||||||
| - uses: actions/checkout@v3 | ||||||||||||||
|
||||||||||||||
| - uses: actions/checkout@v3 | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} |
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -15,22 +15,21 @@ jobs: | |||||||||||||
| max-parallel: 4 | ||||||||||||||
| matrix: | ||||||||||||||
| include: | ||||||||||||||
| - python-version: 3.8 | ||||||||||||||
| torch-version: 1.11 | ||||||||||||||
| - python-version: 3.9 | ||||||||||||||
| torch-version: 1.13 | ||||||||||||||
| - python-version: "3.10" | ||||||||||||||
| - python-version: "3.9" | ||||||||||||||
| torch-version: 2.0.0 | ||||||||||||||
| - python-version: "3.10" | ||||||||||||||
| torch-version: 2.4 | ||||||||||||||
| - python-version: "3.11" | ||||||||||||||
| torch-version: 2.6 | ||||||||||||||
|
|
||||||||||||||
| steps: | ||||||||||||||
| - uses: actions/checkout@v3 | ||||||||||||||
|
||||||||||||||
| - uses: actions/checkout@v3 | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,4 +25,4 @@ | |
| ------- | ||
| """ | ||
|
|
||
| __version__ = "0.3.0" | ||
| __version__ = "0.4.0" | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -3,7 +3,7 @@ | |||||
| max-line-length = 88 | ||||||
| extend-ignore = | ||||||
| # See https://github.com/PyCQA/pycodestyle/issues/373 | ||||||
| E203, | ||||||
| E203 | ||||||
|
||||||
| E203 | |
| E203, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Python setup step was removed but shell configuration
bash -el {0}suggests conda/mamba environment usage. Without the Python setup step, the workflow may fail if the default Python version doesn't match the matrix requirements.