From 7a716f7e3f769695ab7305f0a99f6ef0d471d156 Mon Sep 17 00:00:00 2001 From: nickfraser Date: Tue, 28 May 2024 11:32:09 +0100 Subject: [PATCH] Fix (test/actions): Excluded `torch==1.9.1`, `platform=macos-latest` tests (#960) * Fix (test/actions): Excluded python=3.8, torch==1.9.1, platform=macos-latest tests. * Fix (tests/actions): Regenerated github actions YAML files. * Fix (tests/actions): Disabled all MaxOSX, `torch==1.9.1` tests * Fix (tests/actions): Regenerated github actions files. --- .github/workflows/develop_install.yml | 4 ++++ .github/workflows/end_to_end.yml | 3 +++ .github/workflows/examples_pytest.yml | 3 +++ .github/workflows/finn_integration.yml | 4 ++++ .github/workflows/gen_github_actions.py | 4 +++- .github/workflows/notebook.yml | 3 +++ .github/workflows/ort_integration.yml | 4 ++++ .github/workflows/pytest.yml | 3 +++ .github/workflows/reduced_develop_install.yml | 4 ++++ .github/workflows/reduced_end_to_end.yml | 3 +++ .github/workflows/reduced_examples_pytest.yml | 4 ++++ .github/workflows/reduced_finn_integration.yml | 4 ++++ .github/workflows/reduced_notebook.yml | 3 +++ .github/workflows/reduced_ort_integration.yml | 4 ++++ .github/workflows/reduced_pytest.yml | 4 ++++ 15 files changed, 53 insertions(+), 1 deletion(-) diff --git a/.github/workflows/develop_install.yml b/.github/workflows/develop_install.yml index eff4e15b0..cea916825 100644 --- a/.github/workflows/develop_install.yml +++ b/.github/workflows/develop_install.yml @@ -20,6 +20,10 @@ jobs: platform: ['windows-latest', 'ubuntu-latest', 'macos-latest'] + exclude: + - pytorch_version: '1.9.1' + platform: 'macos-latest' + if: ${{ !github.event.pull_request.draft }} diff --git a/.github/workflows/end_to_end.yml b/.github/workflows/end_to_end.yml index 98d1a309e..dba8a2911 100644 --- a/.github/workflows/end_to_end.yml +++ b/.github/workflows/end_to_end.yml @@ -21,6 +21,9 @@ jobs: exclude: + - pytorch_version: '1.9.1' + platform: 'macos-latest' + - platform: 'windows-latest' diff --git a/.github/workflows/examples_pytest.yml b/.github/workflows/examples_pytest.yml index 31ccb3ffa..d514c6c33 100644 --- a/.github/workflows/examples_pytest.yml +++ b/.github/workflows/examples_pytest.yml @@ -22,6 +22,9 @@ jobs: exclude: + - pytorch_version: '1.9.1' + platform: 'macos-latest' + - pytorch_version: '1.9.1' jit_status: 'jit_enabled' diff --git a/.github/workflows/finn_integration.yml b/.github/workflows/finn_integration.yml index 19becbe70..cb1946b84 100644 --- a/.github/workflows/finn_integration.yml +++ b/.github/workflows/finn_integration.yml @@ -20,6 +20,10 @@ jobs: platform: ['windows-latest', 'ubuntu-latest'] + exclude: + - pytorch_version: '1.9.1' + platform: 'macos-latest' + if: ${{ !github.event.pull_request.draft }} diff --git a/.github/workflows/gen_github_actions.py b/.github/workflows/gen_github_actions.py index 0f996dc2b..4cd6c6827 100644 --- a/.github/workflows/gen_github_actions.py +++ b/.github/workflows/gen_github_actions.py @@ -44,7 +44,9 @@ STRATEGY = od([('fail-fast', 'false')]) -EXCLUDE_LIST = [] +EXCLUDE_LIST = generate_exclusion_list([[ + ['pytorch_version', ['1.9.1']], + ['platform', ['macos-latest']],]]) JIT_EXCLUDE_LIST = generate_exclusion_list([[['pytorch_version', ['1.9.1']], ['jit_status', [ diff --git a/.github/workflows/notebook.yml b/.github/workflows/notebook.yml index fd079b0ca..7678a9d15 100644 --- a/.github/workflows/notebook.yml +++ b/.github/workflows/notebook.yml @@ -21,6 +21,9 @@ jobs: exclude: + - pytorch_version: '1.9.1' + platform: 'macos-latest' + - platform: 'macos-latest' diff --git a/.github/workflows/ort_integration.yml b/.github/workflows/ort_integration.yml index 7d0eccb27..519873f05 100644 --- a/.github/workflows/ort_integration.yml +++ b/.github/workflows/ort_integration.yml @@ -20,6 +20,10 @@ jobs: platform: ['windows-latest', 'ubuntu-latest', 'macos-latest'] + exclude: + - pytorch_version: '1.9.1' + platform: 'macos-latest' + if: ${{ !github.event.pull_request.draft }} diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 3d9f43ea9..c7e407799 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -22,6 +22,9 @@ jobs: exclude: + - pytorch_version: '1.9.1' + platform: 'macos-latest' + - pytorch_version: '1.9.1' jit_status: 'jit_enabled' diff --git a/.github/workflows/reduced_develop_install.yml b/.github/workflows/reduced_develop_install.yml index 8d2c1b45a..b23fa97b6 100644 --- a/.github/workflows/reduced_develop_install.yml +++ b/.github/workflows/reduced_develop_install.yml @@ -22,6 +22,10 @@ jobs: platform: ['ubuntu-latest'] + exclude: + - pytorch_version: '1.9.1' + platform: 'macos-latest' + if: ${{ !github.event.pull_request.draft }} diff --git a/.github/workflows/reduced_end_to_end.yml b/.github/workflows/reduced_end_to_end.yml index d19469ef6..f06c29872 100644 --- a/.github/workflows/reduced_end_to_end.yml +++ b/.github/workflows/reduced_end_to_end.yml @@ -23,6 +23,9 @@ jobs: exclude: + - pytorch_version: '1.9.1' + platform: 'macos-latest' + - platform: 'windows-latest' diff --git a/.github/workflows/reduced_examples_pytest.yml b/.github/workflows/reduced_examples_pytest.yml index c10aa1c74..62541236f 100644 --- a/.github/workflows/reduced_examples_pytest.yml +++ b/.github/workflows/reduced_examples_pytest.yml @@ -23,6 +23,10 @@ jobs: jit_status: ['jit_disabled'] + exclude: + - pytorch_version: '1.9.1' + platform: 'macos-latest' + if: ${{ !github.event.pull_request.draft }} diff --git a/.github/workflows/reduced_finn_integration.yml b/.github/workflows/reduced_finn_integration.yml index c7ebafe8c..b4e0e62d1 100644 --- a/.github/workflows/reduced_finn_integration.yml +++ b/.github/workflows/reduced_finn_integration.yml @@ -22,6 +22,10 @@ jobs: platform: ['ubuntu-latest'] + exclude: + - pytorch_version: '1.9.1' + platform: 'macos-latest' + if: ${{ !github.event.pull_request.draft }} diff --git a/.github/workflows/reduced_notebook.yml b/.github/workflows/reduced_notebook.yml index a7293e4d3..159d4a9a4 100644 --- a/.github/workflows/reduced_notebook.yml +++ b/.github/workflows/reduced_notebook.yml @@ -23,6 +23,9 @@ jobs: exclude: + - pytorch_version: '1.9.1' + platform: 'macos-latest' + - platform: 'macos-latest' diff --git a/.github/workflows/reduced_ort_integration.yml b/.github/workflows/reduced_ort_integration.yml index 1671d6a13..06219f128 100644 --- a/.github/workflows/reduced_ort_integration.yml +++ b/.github/workflows/reduced_ort_integration.yml @@ -22,6 +22,10 @@ jobs: platform: ['ubuntu-latest'] + exclude: + - pytorch_version: '1.9.1' + platform: 'macos-latest' + if: ${{ !github.event.pull_request.draft }} diff --git a/.github/workflows/reduced_pytest.yml b/.github/workflows/reduced_pytest.yml index 12e3d360c..8af119e15 100644 --- a/.github/workflows/reduced_pytest.yml +++ b/.github/workflows/reduced_pytest.yml @@ -23,6 +23,10 @@ jobs: jit_status: ['jit_disabled'] + exclude: + - pytorch_version: '1.9.1' + platform: 'macos-latest' + if: ${{ !github.event.pull_request.draft }}