Skip to content

Commit b8e1aac

Browse files
committed
Merge branch 'actions'
2 parents 97d3834 + 08ee90f commit b8e1aac

File tree

3 files changed

+53
-0
lines changed

3 files changed

+53
-0
lines changed

.github/workflows/i18nCheck.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
on:
2+
push:
3+
paths: ["**.R", "**.qml", "**.po", "**.yml"]
4+
5+
pull_request:
6+
paths: ["**.R", "**.qml", "**.po", "**.yml"]
7+
8+
workflow_dispatch:
9+
10+
name: i18n-check
11+
12+
jobs:
13+
i18n-check:
14+
uses: jasp-stats/jasp-actions/.github/workflows/i18nCheck.yml@master

.github/workflows/translations.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
on:
2+
schedule:
3+
- cron: "*/5 * * * *"
4+
workflow_dispatch:
5+
6+
name: generate-translations
7+
8+
jobs:
9+
generate-translations:
10+
runs-on: ubuntu-latest
11+
env:
12+
REPO_KEY: ${{ secrets.REPOS_KEY }}
13+
WEBLATE_KEY: ${{ secrets.WEBLATE_KEY }}
14+
QML_REPO: jasptestmodule-qml
15+
R_REPO: jasttestmodule-r
16+
17+
steps:
18+
- uses: jasp-stats/jasp-actions/wlcLock@master
19+
20+
- uses: jasp-stats/jasp-actions/translations@master

.github/workflows/unittests.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
on:
2+
workflow_dispatch:
3+
4+
# on:
5+
# push:
6+
# paths: ['**.R', 'tests/**', '**.Rd', '**.c', '**.cpp', '**.h', '**.hpp', 'DESCRIPTION', 'NAMESPACE', 'MAKEVARS', 'MAKEVARS.win', '**.yml']
7+
# pull_request:
8+
# paths: ['**.R', 'tests/**', '**.Rd', '**.c', '**.cpp', '**.h', '**.hpp', 'DESCRIPTION', 'NAMESPACE', 'MAKEVARS', 'MAKEVARS.win']
9+
# schedule:
10+
# - cron: '13 12 * * 1-5'
11+
12+
name: unit-tests
13+
14+
jobs:
15+
unit-tests:
16+
uses: jasp-stats/jasp-actions/.github/workflows/unittests.yml@master
17+
with:
18+
needs_JAGS: false
19+
needs_igraph: false

0 commit comments

Comments
 (0)