Skip to content

Commit

Permalink
test(ci): Drop CentOS 8 and 9 containers
Browse files Browse the repository at this point in the history
'master' now targets RHEL 10/CentOS Stream 10, we don't need to test
these.
  • Loading branch information
m-horky authored and zpetrace committed Jan 6, 2025
1 parent 0919a93 commit df98f19
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
paths:
- "src/**"
- ".github/workflows/pytest.yml"

jobs:
pytest:
Expand All @@ -16,11 +17,7 @@ jobs:
- name: "Fedora Latest"
image: "registry.fedoraproject.org/fedora:latest"
- name: "CentOS Stream 10"
image: "quay.io/centos/centos:stream10-development"
- name: "CentOS Stream 9"
image: "quay.io/centos/centos:stream9"
- name: "CentOS Stream 8"
image: "quay.io/centos/centos:stream8"
image: "quay.io/centos/centos:stream10"

runs-on: "ubuntu-latest"
container:
Expand All @@ -30,11 +27,6 @@ jobs:
- name: "Checkout the repository"
uses: actions/checkout@v4

- name: "Use CentOS Vault"
if: matrix.name == 'CentOS Stream 8'
run: |
sed -i 's|#baseurl=http://mirror|baseurl=http://vault|' /etc/yum.repos.d/CentOS-Stream-*.repo
- name: "Install dependencies"
run: |
dnf --setopt install_weak_deps=False install -y git-core python3-pip gpg
Expand Down

0 comments on commit df98f19

Please sign in to comment.