Skip to content
Merged
Show file tree
Hide file tree
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
19 changes: 19 additions & 0 deletions .github/workflows/dispatch-test-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: On-Demand Unit Testing

on:
workflow_dispatch:
inputs:
ref:
description: 'Branch or tag to test'
required: true
default: 'main'

jobs:
test:
name: On-Demand Unit Testing on ${{ inputs.ref }}
uses: WJSoftware/cicd/.github/workflows/npm-test.yml@v0.2
secrets: inherit
with:
pwsh: false
build: false
ref: ${{ inputs.ref }}
3 changes: 2 additions & 1 deletion .github/workflows/test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ on:
jobs:
test:
name: Unit Testing
uses: WJSoftware/cicd/.github/workflows/npm-test.yml@v0.1.0
uses: WJSoftware/cicd/.github/workflows/npm-test.yml@v0.2
secrets: inherit
with:
pwsh: false
build: false
ref: ${{ github.head_ref }}