Skip to content

Commit

Permalink
feat(ci): Update testing matrix
Browse files Browse the repository at this point in the history
- Test on CentOS Stream 10 instead of 9
  RHEL 9 has been branched off to `subscription-manager-1.29`
- Rawhide runs dnf5, we need to install builddep subcommand
  • Loading branch information
m-horky committed May 21, 2024
1 parent 3cc6ee7 commit d3c9285
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/libdnf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
fail-fast: false
matrix:
include:
- name: "CentOS Stream 9"
image: "quay.io/centos/centos:stream9"
- name: "CentOS Stream 10"
image: "quay.io/centos/centos:stream10-development"
- name: "Fedora latest"
image: "registry.fedoraproject.org/fedora:latest"
- name: "Fedora Rawhide"
Expand All @@ -28,7 +28,7 @@ jobs:
uses: actions/checkout@v4

- name: "Enable CRB repository"
if: ${{ matrix.name == 'CentOS Stream 9' }}
if: ${{ matrix.name == 'CentOS Stream 10' }}
run: |
dnf --setopt install_weak_deps=False install -y dnf-plugins-core
dnf config-manager --enable crb
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
fail-fast: false
matrix:
include:
- name: "CentOS Stream 9"
image: "quay.io/centos/centos:stream9"
- name: "CentOS Stream 10"
image: "quay.io/centos/centos:stream10-development"
pytest_args: ''
- name: "Fedora latest"
image: "registry.fedoraproject.org/fedora:latest"
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/tito.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,15 @@ jobs:
fail-fast: false
matrix:
include:
- name: "CentOS Stream 9"
image: "quay.io/centos/centos:stream9"
- name: "CentOS Stream 10"
image: "quay.io/centos/centos:stream10-development"
packager: "dnf4"
- name: "Fedora latest"
image: "registry.fedoraproject.org/fedora:latest"
packager: "dnf4"
- name: "Fedora Rawhide"
image: "registry.fedoraproject.org/fedora:rawhide"
packager: "dnf5"

runs-on: ubuntu-latest
container:
Expand All @@ -43,6 +46,11 @@ jobs:
run: |
git config --global --add safe.directory '*'
- name: "Install builddep subcommand"
run: |
dnf --setopt install_weak_deps=False "dnf5-command(builddep)"
if: matrix.packager == 'dnf5'

- name: Install packages
run: |
dnf --setopt install_weak_deps=False builddep -y \
Expand Down

0 comments on commit d3c9285

Please sign in to comment.