Skip to content

Commit 4c02971

Browse files
committed
Allow installing RPM packages via DNF
1 parent 4c2107e commit 4c02971

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/this-repo.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ jobs:
1515
uses: ./
1616
with:
1717
tox_env: ${{ matrix.tox_env }}
18+
dnf_install: ${{ matrix.dnf_install }}
1819
strategy:
1920
matrix:
2021
tox_env: [py39]
22+
dnf_install: ["", "libffi-devel", "--enablerepo=updates-testing libffi-devel libyaml-devel"]
2123

2224
# Use GitHub's Linux Docker host
2325
runs-on: ubuntu-latest

action.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,16 @@ inputs:
55
required: true
66
default: 'py38'
77
description: Tox environment to run the tests on
8+
dnf_install:
9+
required: false
10+
default: ''
11+
description: Space separated packages to install via dnf install (can contain options)
812
runs:
913
using: docker
1014
image: docker://fedorapython/fedora-python-tox
11-
entrypoint: tox
12-
args:
13-
- '-e${{ inputs.tox_env }}'
15+
env:
16+
TOXENV: ${{ inputs.tox_env }}
17+
DNF_INSTALL: ${{ inputs.dnf_install }}
1418
branding:
1519
color: green
1620
icon: check

0 commit comments

Comments
 (0)