Skip to content

Commit e7ae16b

Browse files
authored
Update GH Actions workflow to run tests on push (#36)
1 parent 004d746 commit e7ae16b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
5151
package:
5252
needs: [changes, lint]
53-
if: ${{ needs.changes.outputs.has-changes == 'true' }}
53+
if: ${{ github.event_name == 'push' || needs.changes.outputs.has-changes == 'true' }}
5454
runs-on: ubuntu-latest
5555
steps:
5656
- name: Check out
@@ -62,7 +62,7 @@ jobs:
6262

6363
test:
6464
needs: [package]
65-
if: ${{ needs.changes.outputs.has-changes == 'true' }}
65+
if: ${{ github.event_name == 'push' || needs.changes.outputs.has-changes == 'true' }}
6666
runs-on: ${{ matrix.os }}
6767
strategy:
6868
fail-fast: false

0 commit comments

Comments
 (0)