Skip to content

Commit c359bab

Browse files
authored
update unittest action (#486)
1 parent e84ebaf commit c359bab

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/unittests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ on:
22
push:
33
paths: ['**.R', 'tests/**', '**.Rd', '**.c', '**.cpp', '**.h', '**.hpp', 'DESCRIPTION', 'NAMESPACE', 'MAKEVARS', 'MAKEVARS.win', '**.yml']
44
pull_request:
5-
paths: ['**.R', 'tests/**', '**.Rd', '**.c', '**.cpp', '**.h', '**.hpp', 'DESCRIPTION', 'NAMESPACE', 'MAKEVARS', 'MAKEVARS.win']
5+
paths: ['**.R', 'tests/**', '**.Rd', '**.c', '**.cpp', '**.h', '**.hpp', 'DESCRIPTION', 'NAMESPACE', 'MAKEVARS', 'MAKEVARS.win', '**.yml']
66
schedule:
77
- cron: '13 12 * * 1-5'
88

@@ -11,8 +11,8 @@ name: unit-tests
1111
jobs:
1212

1313
unit-tests:
14-
15-
uses: jasp-stats/jasp-actions/.github/workflows/unittests.yml@master
14+
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
15+
uses: jasp-stats/jasp-actions/.github/workflows/unittests.yml@v1
1616
with:
1717
needs_JAGS: false
18-
needs_igraph: true
18+

0 commit comments

Comments
 (0)