Skip to content

Commit

Permalink
adds forcing to run test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mathewmeconry committed May 18, 2022
1 parent 245a968 commit 5af90ab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/javascript_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
fi
test:
uses: ./.github/workflows/javascript_test.yml
with:
run: true
publish:
runs-on: ubuntu-latest
needs: [checkTag, test]
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/javascript_test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Javascript Test
on:
workflow_call:
inputs:
run:
description: "Forces a run if true"
required: false
type: boolean
push:
branches-ignore:
- develop
Expand All @@ -14,7 +19,7 @@ defaults:

jobs:
build-js:
if: github.actor != 'arabot-1'
if: ${{ github.actor != 'arabot-1' || inputs.run }}
name: Build, lint, and test on Node ${{ matrix.node }} and ${{ matrix.os }}

runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit 5af90ab

Please sign in to comment.