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

[DO NOT MERGE] Feat (tests/actions): Updated tests to use python=3.10 instead of python=3.8 #959

Closed
wants to merge 8 commits into from
12 changes: 11 additions & 1 deletion .github/workflows/develop_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,21 @@ jobs:


matrix:
python_version: ['3.8', '3.9']
python_version: ['3.9', '3.10']
pytorch_version: ['1.9.1', '1.10.1', '1.11.0', '1.12.1', '1.13.0', '2.0.1', '2.1.0']
platform: ['windows-latest', 'ubuntu-latest', 'macos-latest']


exclude:
- pytorch_version: '1.9.1'
platform: 'macos-latest'

- python_version: '3.10'
pytorch_version: '1.9.1'

- python_version: '3.10'
pytorch_version: '1.10.1'



if: ${{ !github.event.pull_request.draft }}
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/end_to_end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,21 @@ jobs:


matrix:
python_version: ['3.8', '3.9']
python_version: ['3.9', '3.10']
pytorch_version: ['1.9.1', '1.10.1', '1.11.0', '1.12.1', '1.13.0', '2.0.1', '2.1.0']
platform: ['windows-latest', 'ubuntu-latest', 'macos-latest']


exclude:
- pytorch_version: '1.9.1'
platform: 'macos-latest'

- python_version: '3.10'
pytorch_version: '1.9.1'

- python_version: '3.10'
pytorch_version: '1.10.1'

- platform: 'windows-latest'


Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/examples_pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,22 @@ jobs:


matrix:
python_version: ['3.8', '3.9']
python_version: ['3.9', '3.10']
pytorch_version: ['1.9.1', '1.10.1', '1.11.0', '1.12.1', '1.13.0', '2.0.1', '2.1.0']
platform: ['windows-latest', 'ubuntu-latest', 'macos-latest']
jit_status: ['jit_disabled', 'jit_enabled']


exclude:
- pytorch_version: '1.9.1'
platform: 'macos-latest'

- python_version: '3.10'
pytorch_version: '1.9.1'

- python_version: '3.10'
pytorch_version: '1.10.1'

- pytorch_version: '1.9.1'
jit_status: 'jit_enabled'

Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/finn_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,21 @@ jobs:


matrix:
python_version: ['3.8', '3.9']
python_version: ['3.9', '3.10']
pytorch_version: ['1.9.1', '1.10.1', '1.11.0', '1.12.1', '1.13.0', '2.0.1', '2.1.0']
platform: ['windows-latest', 'ubuntu-latest']


exclude:
- pytorch_version: '1.9.1'
platform: 'macos-latest'

- python_version: '3.10'
pytorch_version: '1.9.1'

- python_version: '3.10'
pytorch_version: '1.10.1'



if: ${{ !github.event.pull_request.draft }}
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/gen_github_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
ENDTOEND_YML = 'end_to_end.yml'

# Reduced Test for PRs, except when a review is requested
PYTHON_VERSIONS_REDUCED = ('3.8',)
PYTHON_VERSIONS_REDUCED = ('3.9',)

PYTORCH_LIST_REDUCED = ["1.9.1", "1.13.0", "2.1.0"]

Expand All @@ -33,7 +33,7 @@
'jit_disabled',])])

# Data shared betwen Nox sessions and Github Actions, formatted as tuples
PYTHON_VERSIONS = ('3.8', '3.9')
PYTHON_VERSIONS = ('3.9', '3.10')

PYTORCH_VERSIONS = ('1.9.1', '1.10.1', '1.11.0', '1.12.1', '1.13.0', '2.0.1', '2.1.0')
JIT_STATUSES = ('jit_disabled', 'jit_enabled')
Expand All @@ -44,7 +44,10 @@

STRATEGY = od([('fail-fast', 'false')])

EXCLUDE_LIST = []
EXCLUDE_LIST = generate_exclusion_list([[['pytorch_version', ['1.9.1']],
['platform', ['macos-latest']]],
[['python_version', ['3.10']],
['pytorch_version', ['1.9.1', '1.10.1']]]])

JIT_EXCLUDE_LIST = generate_exclusion_list([[['pytorch_version', ['1.9.1']],
['jit_status', [
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/notebook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,21 @@ jobs:


matrix:
python_version: ['3.8', '3.9']
python_version: ['3.9', '3.10']
pytorch_version: ['1.9.1', '1.10.1', '1.11.0', '1.12.1', '1.13.0', '2.0.1', '2.1.0']
platform: ['windows-latest', 'ubuntu-latest', 'macos-latest']


exclude:
- pytorch_version: '1.9.1'
platform: 'macos-latest'

- python_version: '3.10'
pytorch_version: '1.9.1'

- python_version: '3.10'
pytorch_version: '1.10.1'

- platform: 'macos-latest'


Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/ort_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,21 @@ jobs:


matrix:
python_version: ['3.8', '3.9']
python_version: ['3.9', '3.10']
pytorch_version: ['1.9.1', '1.10.1', '1.11.0', '1.12.1', '1.13.0', '2.0.1', '2.1.0']
platform: ['windows-latest', 'ubuntu-latest', 'macos-latest']


exclude:
- pytorch_version: '1.9.1'
platform: 'macos-latest'

- python_version: '3.10'
pytorch_version: '1.9.1'

- python_version: '3.10'
pytorch_version: '1.10.1'



if: ${{ !github.event.pull_request.draft }}
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,22 @@ jobs:


matrix:
python_version: ['3.8', '3.9']
python_version: ['3.9', '3.10']
pytorch_version: ['1.9.1', '1.10.1', '1.11.0', '1.12.1', '1.13.0', '2.0.1', '2.1.0']
platform: ['windows-latest', 'ubuntu-latest', 'macos-latest']
jit_status: ['jit_disabled', 'jit_enabled']


exclude:
- pytorch_version: '1.9.1'
platform: 'macos-latest'

- python_version: '3.10'
pytorch_version: '1.9.1'

- python_version: '3.10'
pytorch_version: '1.10.1'

- pytorch_version: '1.9.1'
jit_status: 'jit_enabled'

Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/reduced_develop_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,21 @@ jobs:


matrix:
python_version: ['3.8']
python_version: ['3.9']
pytorch_version: ['1.9.1', '1.13.0', '2.1.0']
platform: ['ubuntu-latest']


exclude:
- pytorch_version: '1.9.1'
platform: 'macos-latest'

- python_version: '3.10'
pytorch_version: '1.9.1'

- python_version: '3.10'
pytorch_version: '1.10.1'



if: ${{ !github.event.pull_request.draft }}
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/reduced_end_to_end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,21 @@ jobs:


matrix:
python_version: ['3.8']
python_version: ['3.9']
pytorch_version: ['1.9.1', '1.13.0', '2.1.0']
platform: ['ubuntu-latest']


exclude:
- pytorch_version: '1.9.1'
platform: 'macos-latest'

- python_version: '3.10'
pytorch_version: '1.9.1'

- python_version: '3.10'
pytorch_version: '1.10.1'

- platform: 'windows-latest'


Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/reduced_examples_pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,22 @@ jobs:


matrix:
python_version: ['3.8']
python_version: ['3.9']
pytorch_version: ['1.9.1', '1.13.0', '2.1.0']
platform: ['ubuntu-latest']
jit_status: ['jit_disabled']


exclude:
- pytorch_version: '1.9.1'
platform: 'macos-latest'

- python_version: '3.10'
pytorch_version: '1.9.1'

- python_version: '3.10'
pytorch_version: '1.10.1'



if: ${{ !github.event.pull_request.draft }}
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/reduced_finn_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,21 @@ jobs:


matrix:
python_version: ['3.8']
python_version: ['3.9']
pytorch_version: ['1.9.1', '1.13.0', '2.1.0']
platform: ['ubuntu-latest']


exclude:
- pytorch_version: '1.9.1'
platform: 'macos-latest'

- python_version: '3.10'
pytorch_version: '1.9.1'

- python_version: '3.10'
pytorch_version: '1.10.1'



if: ${{ !github.event.pull_request.draft }}
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/reduced_notebook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,21 @@ jobs:


matrix:
python_version: ['3.8']
python_version: ['3.9']
pytorch_version: ['1.9.1', '1.13.0', '2.1.0']
platform: ['ubuntu-latest']


exclude:
- pytorch_version: '1.9.1'
platform: 'macos-latest'

- python_version: '3.10'
pytorch_version: '1.9.1'

- python_version: '3.10'
pytorch_version: '1.10.1'

- platform: 'macos-latest'


Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/reduced_ort_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,21 @@ jobs:


matrix:
python_version: ['3.8']
python_version: ['3.9']
pytorch_version: ['1.9.1', '1.13.0', '2.1.0']
platform: ['ubuntu-latest']


exclude:
- pytorch_version: '1.9.1'
platform: 'macos-latest'

- python_version: '3.10'
pytorch_version: '1.9.1'

- python_version: '3.10'
pytorch_version: '1.10.1'



if: ${{ !github.event.pull_request.draft }}
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/reduced_pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,22 @@ jobs:


matrix:
python_version: ['3.8']
python_version: ['3.9']
pytorch_version: ['1.9.1', '1.13.0', '2.1.0']
platform: ['ubuntu-latest']
jit_status: ['jit_disabled']


exclude:
- pytorch_version: '1.9.1'
platform: 'macos-latest'

- python_version: '3.10'
pytorch_version: '1.9.1'

- python_version: '3.10'
pytorch_version: '1.10.1'



if: ${{ !github.event.pull_request.draft }}
Expand Down
Loading