Skip to content

Commit

Permalink
Pass pytest args for "not flaky" path
Browse files Browse the repository at this point in the history
  • Loading branch information
vivek-datadog committed Jul 5, 2024
1 parent 68ced9e commit aa7993c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test-target.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ jobs:
exit $exit_code
fi
else
ddev test --cov --junit ${{ inputs.target }}
ddev test --cov --junit ${{ inputs.target }} ${{ inputs.pytest-args != '' && format('-- {0}', inputs.pytest-args) || '' }}
fi
- name: Run Unit & Integration tests with minimum version of base package
Expand All @@ -243,7 +243,7 @@ jobs:
exit $exit_code
fi
else
ddev test --compat --recreate --junit ${{ inputs.target }}
ddev test --compat --recreate --junit ${{ inputs.target }} ${{ inputs.pytest-args != '' && format('-- {0}', inputs.pytest-args) || '' }}
fi
- name: Run E2E tests with latest base package
Expand All @@ -263,7 +263,7 @@ jobs:
exit $exit_code
fi
else
ddev env test --base --new-env --junit ${{ inputs.target }} -- all
ddev env test --base --new-env --junit ${{ inputs.target }} ${{ inputs.pytest-args != '' && format('-- all {0}', inputs.pytest-args) || '' }}
fi
- name: Run E2E tests
Expand All @@ -283,7 +283,7 @@ jobs:
exit $exit_code
fi
else
ddev env test --new-env --junit ${{ inputs.target }} -- all
ddev env test --new-env --junit ${{ inputs.target }} ${{ inputs.pytest-args != '' && format('-- all {0}', inputs.pytest-args) || '' }}
fi
- name: Run benchmarks
Expand Down Expand Up @@ -312,7 +312,7 @@ jobs:
exit $exit_code
fi
else
ddev env test --base --new-env --junit ${{ inputs.target }}:latest -- all
ddev env test --base --new-env --junit ${{ inputs.target }}:latest ${{ inputs.pytest-args != '' && format('-- all {0}', inputs.pytest-args) || '' }}
fi
- name: View trace log
Expand Down

0 comments on commit aa7993c

Please sign in to comment.