Skip to content

Commit

Permalink
workflows: fix markers
Browse files Browse the repository at this point in the history
Fix markers.

Signed-off-by: Giacomo Dematteis <[email protected]>
  • Loading branch information
DematteisGiacomo committed Nov 29, 2024
1 parent 6a99a4c commit 9386cb6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/on_target.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,16 +93,17 @@ jobs:
run: |
mkdir -p results
if [ "${{ inputs.pytest_marker }}" == "no_markers_flag" ]; then
real_pytest_marker=""
if [[ '${{ inputs.pytest_marker }}' == 'no_markers_flag' ]]; then
real_pytest_marker=''
else
real_pytest_marker="${{ inputs.pytest_marker }}"
real_pytest_marker='${{ inputs.pytest_marker }}'
fi
pytest -v $real_pytest_marker \
pytest -v ${real_pytest_marker} \
--junit-xml=results/test-results.xml \
--html=results/test-results.html --self-contained-html \
${{ inputs.pytest_path }}
shell: bash
env:
SEGGER: ${{ secrets.SEGGER_DUT_1 }}
SEGGER_NRF53: ${{ secrets.SEGGER_DUT_2_EXT_DBG }}
Expand Down

0 comments on commit 9386cb6

Please sign in to comment.