-
Notifications
You must be signed in to change notification settings - Fork 12
41 lines (32 loc) · 1.15 KB
/
main-workflow.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Main-Workflow
on:
push:
branches: [main]
pull_request:
permissions: write-all
jobs:
bump-dev-version: # only do that when actually merging in main/develop branch
if: github.event_name != 'pull_request'
uses: Open-Systems-Pharmacology/Workflows/.github/workflows/bump_dev_version_tag_branch.yaml@main
with:
app-id: ${{ vars.VERSION_BUMPER_APPID }}
secrets:
private-key: ${{ secrets.VERSION_BUMPER_SECRET }}
update-core-files:
if: ${{ !cancelled() && github.event_name == 'pull_request' }}
needs: [bump-dev-version]
uses: ./.github/workflows/update-core-files.yaml
R-CMD-Check:
if: ${{ !cancelled() }}
needs: [update-core-files]
uses: Open-Systems-Pharmacology/Workflows/.github/workflows/R-CMD-check-build.yaml@main
test-coverage:
if: ${{ !cancelled() }}
needs: [update-core-files]
uses: Open-Systems-Pharmacology/Workflows/.github/workflows/test-coverage.yaml@main
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
pkgdown:
if: ${{ !cancelled() }}
needs: [update-core-files]
uses: Open-Systems-Pharmacology/Workflows/.github/workflows/pkgdown.yaml@main