diff options
author | Florian Bruhin <me@the-compiler.org> | 2022-12-12 13:42:32 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2022-12-12 13:42:32 +0100 |
commit | 21ac559a6505452609b7c305d7e2c6479cefd22c (patch) | |
tree | f960c811cd5e28658338cadd2cf30f2959cc54e5 /.github | |
parent | bbdc83f638ed1a8e263a3efac0da8a901c1a1420 (diff) | |
download | qutebrowser-21ac559a6505452609b7c305d7e2c6479cefd22c.tar.gz qutebrowser-21ac559a6505452609b7c305d7e2c6479cefd22c.zip |
More adjustments for tox 4 subtleties
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3bebcfbc4..9e1b8fc3c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -73,7 +73,12 @@ jobs: python -m pip install -U pip python -m pip install -U -r misc/requirements/requirements-tox.txt - name: "Run ${{ matrix.testenv }}" - run: "dbus-run-session -- tox -e ${{ matrix.testenv}} -- ${{ matrix.args }}" + run: | + if [[ -z "${{ matrix.args }}" ]]; then + dbus-run-session -- tox -e ${{ matrix.testenv }} + else + dbus-run-session -- tox -e ${{ matrix.testenv }} -- ${{ matrix.args }} + fi tests-docker: if: "!contains(github.event.head_commit.message, '[ci skip]')" |