-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#1049 Set up singular pull request CI workflow
- Loading branch information
1 parent
96e427b
commit 3ac50b2
Showing
8 changed files
with
51 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name: Build all | ||
name: Build modules | ||
|
||
on: [pull_request, workflow_dispatch] | ||
on: workflow_call | ||
|
||
jobs: | ||
buildSource: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name: Tests | ||
|
||
on: [pull_request, workflow_dispatch] | ||
on: workflow_call | ||
|
||
jobs: | ||
coverage: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Pull request CI | ||
on: [pull_request] | ||
|
||
jobs: | ||
pre_build: | ||
name: Pre-build checks | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Check code style | ||
uses: ./.github/workflows/check.codestyle.yml | ||
- name: License header check | ||
uses: ./.github/workflows/check.license.yml | ||
- name: OWASP Dependency Check | ||
uses: ./.github/workflows/check.dependency.yml | ||
build: | ||
name: Build modules | ||
needs: pre_build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Build modules | ||
uses: ./.github/workflows/build.modules.yml | ||
test: | ||
name: Tests | ||
needs: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Tests | ||
uses: ./.github/workflows/test.coverage.yml | ||
post_build: | ||
name: Documentation | ||
needs: test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Build documentation | ||
uses: ./.github/workflows/build.docs.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters