diff mbox series

ci: bump to python 3.11 in GitHub Actions

Message ID 20230115233426.41204-1-jason@perfinion.com (mailing list archive)
State Accepted
Delegated to: Petr Lautrbach
Headers show
Series ci: bump to python 3.11 in GitHub Actions | expand

Commit Message

Jason Zaman Jan. 15, 2023, 11:34 p.m. UTC
- Also drop py3.5, py3.6 since they are no longer supported in the
  github 22.04 runners

Signed-off-by: Jason Zaman <jason@perfinion.com>
---

CI passed here: https://github.com/perfinion/selinux/actions/runs/3925727573


 .github/workflows/run_tests.yml | 27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)

Comments

Petr Lautrbach Feb. 1, 2023, 3:49 p.m. UTC | #1
Jason Zaman <jason@perfinion.com> writes:

> - Also drop py3.5, py3.6 since they are no longer supported in the
>   github 22.04 runners
>
> Signed-off-by: Jason Zaman <jason@perfinion.com>

Acked-by: Petr Lautrbach <lautrbach@redhat.com>

and merged. Thanks!


> ---
>
> CI passed here: https://github.com/perfinion/selinux/actions/runs/3925727573
>
>
>  .github/workflows/run_tests.yml | 27 +++++++++++++--------------
>  1 file changed, 13 insertions(+), 14 deletions(-)
>
> diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml
> index db0e1af5..198ba7b6 100644
> --- a/.github/workflows/run_tests.yml
> +++ b/.github/workflows/run_tests.yml
> @@ -10,31 +10,30 @@ jobs:
>        matrix:
>          compiler: [gcc, clang]
>          python-ruby-version:
> -          - {python: '3.10', ruby: '3.1'}
> -          - {python: '3.10', ruby: '3.1', other: test-flags-override}
> -          - {python: '3.10', ruby: '3.1', other: test-debug}
> -          - {python: '3.10', ruby: '3.1', other: linker-bfd}
> -          - {python: '3.10', ruby: '3.1', other: linker-gold}
> +          - {python: '3.11', ruby: '3.1'}
> +          - {python: '3.11', ruby: '3.1', other: 'test-flags-override'}
> +          - {python: '3.11', ruby: '3.1', other: 'test-debug'}
> +          - {python: '3.11', ruby: '3.1', other: 'linker-bfd'}
> +          - {python: '3.11', ruby: '3.1', other: 'linker-gold'}
>            # Test several Python versions with the latest Ruby version
> +          - {python: '3.10', ruby: '3.1'}
>            - {python: '3.9', ruby: '3.1'}
>            - {python: '3.8', ruby: '3.1'}
>            - {python: '3.7', ruby: '3.1'}
> -          - {python: '3.6', ruby: '3.1'}
> -          - {python: '3.5', ruby: '3.1'}
>            - {python: 'pypy3.7', ruby: '3.1'}
>            # Test several Ruby versions with the latest Python version
> -          - {python: '3.10', ruby: '3.0'}
> -          - {python: '3.10', ruby: '2.7'}
> -          - {python: '3.10', ruby: '2.6'}
> -          - {python: '3.10', ruby: '2.5'}
> +          - {python: '3.11', ruby: '3.0'}
> +          - {python: '3.11', ruby: '2.7'}
> +          - {python: '3.11', ruby: '2.6'}
> +          - {python: '3.11', ruby: '2.5'}
>          exclude:
>            - compiler: clang
> -            python-ruby-version: {python: '3.10', ruby: '3.1', other: linker-bfd}
> +            python-ruby-version: {python: '3.11', ruby: '3.1', other: 'linker-bfd'}
>            - compiler: clang
> -            python-ruby-version: {python: '3.10', ruby: '3.1', other: linker-gold}
> +            python-ruby-version: {python: '3.11', ruby: '3.1', other: 'linker-gold'}
>          include:
>            - compiler: gcc
> -            python-ruby-version: {python: '3.10', ruby: '3.1', other: sanitizers}
> +            python-ruby-version: {python: '3.11', ruby: '3.1', other: 'sanitizers'}
>  
>      steps:
>      - uses: actions/checkout@v3
> -- 
> 2.38.2
diff mbox series

Patch

diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml
index db0e1af5..198ba7b6 100644
--- a/.github/workflows/run_tests.yml
+++ b/.github/workflows/run_tests.yml
@@ -10,31 +10,30 @@  jobs:
       matrix:
         compiler: [gcc, clang]
         python-ruby-version:
-          - {python: '3.10', ruby: '3.1'}
-          - {python: '3.10', ruby: '3.1', other: test-flags-override}
-          - {python: '3.10', ruby: '3.1', other: test-debug}
-          - {python: '3.10', ruby: '3.1', other: linker-bfd}
-          - {python: '3.10', ruby: '3.1', other: linker-gold}
+          - {python: '3.11', ruby: '3.1'}
+          - {python: '3.11', ruby: '3.1', other: 'test-flags-override'}
+          - {python: '3.11', ruby: '3.1', other: 'test-debug'}
+          - {python: '3.11', ruby: '3.1', other: 'linker-bfd'}
+          - {python: '3.11', ruby: '3.1', other: 'linker-gold'}
           # Test several Python versions with the latest Ruby version
+          - {python: '3.10', ruby: '3.1'}
           - {python: '3.9', ruby: '3.1'}
           - {python: '3.8', ruby: '3.1'}
           - {python: '3.7', ruby: '3.1'}
-          - {python: '3.6', ruby: '3.1'}
-          - {python: '3.5', ruby: '3.1'}
           - {python: 'pypy3.7', ruby: '3.1'}
           # Test several Ruby versions with the latest Python version
-          - {python: '3.10', ruby: '3.0'}
-          - {python: '3.10', ruby: '2.7'}
-          - {python: '3.10', ruby: '2.6'}
-          - {python: '3.10', ruby: '2.5'}
+          - {python: '3.11', ruby: '3.0'}
+          - {python: '3.11', ruby: '2.7'}
+          - {python: '3.11', ruby: '2.6'}
+          - {python: '3.11', ruby: '2.5'}
         exclude:
           - compiler: clang
-            python-ruby-version: {python: '3.10', ruby: '3.1', other: linker-bfd}
+            python-ruby-version: {python: '3.11', ruby: '3.1', other: 'linker-bfd'}
           - compiler: clang
-            python-ruby-version: {python: '3.10', ruby: '3.1', other: linker-gold}
+            python-ruby-version: {python: '3.11', ruby: '3.1', other: 'linker-gold'}
         include:
           - compiler: gcc
-            python-ruby-version: {python: '3.10', ruby: '3.1', other: sanitizers}
+            python-ruby-version: {python: '3.11', ruby: '3.1', other: 'sanitizers'}
 
     steps:
     - uses: actions/checkout@v3