Skip to content

Commit

Permalink
custom params to run
Browse files Browse the repository at this point in the history
  • Loading branch information
drortirosh committed Oct 5, 2023
1 parent e924767 commit ced0fab
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@ name: Build Test Results Dashboard

on:
workflow_dispatch:
inputs:
runall_params:
description: 'Custom runall params'
required: false
type: string
dump_logs:
description: 'dump logs'
required: false
type: boolean
# push:
# branches:
# - '*'
Expand Down Expand Up @@ -59,8 +68,12 @@ jobs:
- run: "cd bundler-spec-tests && pdm install && pdm update-deps"
name: update submodules of bundler-spec-tests

- run: ./runall.sh
name: Run all tests.
- run: ./runall.sh ${{ inputs.runall_params }}
name: Run all tests ${{ inputs.runall_params }}

- name: dump logs
if: ${{ inputs.dump_logs }}
run: grep . build/*/*.log

- name: Clone and update results repo
run: ./update-results.sh out-results
Expand Down
2 changes: 1 addition & 1 deletion runall.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -e
#!/bin/bash
root=`realpath \`dirname $0\``

BUILD=$root/build
Expand Down

0 comments on commit ced0fab

Please sign in to comment.