diff --git a/.github/workflows/debug.yaml b/.github/workflows/debug.yaml index 1587c9f67..e43a31261 100644 --- a/.github/workflows/debug.yaml +++ b/.github/workflows/debug.yaml @@ -13,11 +13,8 @@ jobs: matrix: os: - ubuntu-22.04 - # - ubuntu-20.04 - - macos-12 - # - macos-11 + - macos-13 - windows-2022 - # - windows-2019 runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4.1.1 diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index fbaa2374f..f2db56aee 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -36,15 +36,11 @@ jobs: from itertools import product from pathlib import Path - # See what each os came pre-installed with at: - # https://help.github.com/en/actions/reference/software-installed-on-github-hosted-runners + # Available OSes: https://github.com/actions/runner-images#available-images os_list = { "ubuntu-22.04", - "ubuntu-20.04", "macos-13", - "macos-12", "windows-2022", - "windows-2019", } # Only test the oldest and latest Python version supported and the upcoming one. Skip the intermediates # to speed up the tests. @@ -357,8 +353,7 @@ jobs: # DNF - name: DNF - Linux install - # DNF has only been added in Ubuntu 21.04, not before. - if: runner.os == 'Linux' && matrix.os != 'ubuntu-20.04' + if: runner.os == 'Linux' run: | sudo apt --quiet --yes install dnf @@ -411,18 +406,18 @@ jobs: Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1" refreshenv gem update --quiet --system - - name: Ruby & Gem - macOS & Ubuntu < 21.04 upgrade - if: runner.os == 'macOS' || matrix.os == 'ubuntu-20.04' + - name: Ruby & Gem - macOS + if: runner.os == 'macOS' run: | sudo gem update --quiet --system - - name: Ruby & Gem - Ubuntu >= 21.04 upgrade + - name: Ruby & Gem - Ubuntu # As of Ubuntu 21.04, RubyGems is exclusively managed by APT. A call to "sudo gem update --system" # ends up with the following error: # ERROR: Your RubyGems was installed trough APT, and upgrading it through RubyGems # itself is unsupported. If you really need the latest version of RubyGems (tip: # you usually don't), then you need to install RubyGems (and Ruby) manually, # maybe using tools like ruby-install, rvm, etc. - if: runner.os == 'Linux' && matrix.os != 'ubuntu-20.04' + if: runner.os == 'Linux' run: | sudo apt --quiet --yes install ruby-rubygems diff --git a/changelog.md b/changelog.md index 974697dcd..21a7102ed 100644 --- a/changelog.md +++ b/changelog.md @@ -11,7 +11,7 @@ This version is not released yet and is under active development. - \[scoop\] Fix parsing of Scoop version. - \[mpm\] Group platforms by family in the `managers` subcommand. - \[mpm\] Run tests and actions on released Python 3.12 version. -- \[mpm\] Run tests on macos-13. Remove tests on macos-11. +- \[mpm\] Run tests on `macos-13`. Remove tests on `macos-12`, `macos-11`, `ubuntu-20.04` and `windows-2019`. - \[mpm\] Run bar plugin unittests in their independent, non-parrallel step. - \[mpm\] Skip testing on intermediate Python versions to speed up CI. Only the oldest and latest supported. - \[mpm\] Skip configuration-related tests while we investigate test isolation.