Skip to content

Commit

Permalink
args handling
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Jan 24, 2024
1 parent 7589e75 commit 597893f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
args: --slow -k "not test_cmdline_status"
fail-fast: false
runs-on: ubuntu-latest
name: ${{ matrix.package }} (Python ${{ matrix.python-version }}, tox ${{ matrix.default_factors }}${{ matrix.args == '' || ' -- ' }}${{ matrix.args }})
name: ${{ matrix.package }} (Python ${{ matrix.python-version }}, tox ${{ matrix.default_factors != '' && '-' || '' }}${{ matrix.default_factors }}${{ matrix.args != '' && ' -- ' || '' }}${{ matrix.args }})
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
with:
script: |
core.setOutput('factor', 'py${{ matrix.python-version }}'.replaceAll(/[/.]/g, ''));
- run: tox -e ${{ steps.python-factor.outputs.factor }}${{ matrix.default_factors == '' && '-' || '' }}${{ matrix.default_factors }}${{ matrix.args != '' && ' -- ' || '' }}${{ matrix.args }}
- run: tox -e ${{ steps.python-factor.outputs.factor }}${{ matrix.default_factors != '' && '-' || '' }}${{ matrix.default_factors }}${{ matrix.args != '' && ' -- ' || '' }}${{ matrix.args }}
working-directory: ${{ matrix.package }}
unit_tests_via_package:
needs: [ build ]
Expand Down

0 comments on commit 597893f

Please sign in to comment.