Skip to content

Commit

Permalink
Drop tests on older platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed Jan 7, 2024
1 parent 62ce102 commit ad42be8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 16 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/debug.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down
17 changes: 6 additions & 11 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ad42be8

Please sign in to comment.