File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -27,6 +27,16 @@ from your Tox configuration.
2727(As far as we know, this is required in order to have individual environments
2828show up as separate runs on GitHub. Discuss this limitation in [issue 8].)
2929
30+ Optionally, you can install RPM packages from Fedora by setting the
31+ ` dnf_install` to a space separated list of packages (or provides, groups etc.,
32+ the string will be literally used in `dnf install ...`) :
33+
34+ ` ` ` yaml
35+ - uses: fedora-python/tox-github-action
36+ with:
37+ tox_env: py38
38+ dnf_install: libffi-devel libyaml-devel
39+ ` ` `
3040
3141[issue 8] : https://github.com/fedora-python/tox-github-action/issues/8
3242
Original file line number Diff line number Diff 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)
812runs :
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 }}
1418branding :
1519 color : green
1620 icon : check
You can’t perform that action at this time.
0 commit comments