Skip to content

Commit

Permalink
github: add support for passing params
Browse files Browse the repository at this point in the history
  • Loading branch information
razvancrainea committed Nov 24, 2023
1 parent d05d863 commit cdc7427
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,4 @@ jobs:
uses: ./sipssert/actions/Run_Test
with:
test_set: ${{ matrix.test_set }}
params: ${{ matrix.params }}
5 changes: 4 additions & 1 deletion actions/Run_Test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@ inputs:
test_set:
description: "Name of the Test Set to run"
required: true
params:
description: "params to be passed to the script"
required: false
runs:
using: 'composite'
steps:
- name: Run All Tests
run: |
cd tests
SETS=${{ inputs.test_set }} sh -x ./run-all.sh
sipssert ${{ inputs.params }} ${{ inputs.test_set }}
shell: bash

- name: Publish logs
Expand Down

0 comments on commit cdc7427

Please sign in to comment.