Skip to content

Commit

Permalink
Also run ci when ci changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sverhoeven committed Sep 25, 2024
1 parent e94f3e0 commit 7f6ea89
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ on:
push:
paths:
- "openapi.yaml"
- .github/workflows/openapi.yml
pull_request:
paths:
- "openapi.yaml"
- .github/workflows/openapi.yml

jobs:
lintspec:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ on:
paths:
- "openapi.yaml"
- "python/remotebmi/**"
- .github/workflows/python.yml
pull_request:
paths:
- "openapi.yaml"
- "python/remotebmi/**"
- .github/workflows/python.yml

jobs:
python:
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/r.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ on:
push:
paths:
- "R/remotebmi/**"
- .github/workflows/r.yml
pull_request:
paths:
- "R/remotebmi/**"
- .github/workflows/r.yml

jobs:
r:
Expand All @@ -17,8 +19,9 @@ jobs:
with:
sparse-checkout: |
R/remotebmi
- name: Move R package to root
run: shopt -s dotglob && mv R/remotebmi/* .
path: root
- name: Move R package to cwd
run: shopt -s dotglob && mv root/R/remotebmi/* .
- name: Setup R
uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-r-dependencies@v2
Expand Down

0 comments on commit 7f6ea89

Please sign in to comment.