Skip to content

Commit

Permalink
Add initialization step
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Della Vedova <[email protected]>
  • Loading branch information
luca-della-vedova committed Jul 23, 2024
1 parent d0949f7 commit 4551ddc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ on: # yamllint disable-line rule:truthy
default: 'colcon/ci'
required: false
type: string
prerun-step:
description: 'instruction to run before the testing'
default: ''
required: false
type: string
secrets:
CODECOV_TOKEN:
description: 'token to use when running codecov action after testing'
Expand Down Expand Up @@ -53,6 +58,8 @@ jobs:
- uses: actions/checkout@v4
with:
repository: ${{ inputs.repository }}
- run: bash -c "${{ inputs.prerun-step }}"
if: ${{ inputs.prerun-step != ''}}
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
Expand Down

0 comments on commit 4551ddc

Please sign in to comment.