Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add initialization step #33

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading