-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add doc, build-run, format, static analysis, and unit test workflows
- Loading branch information
Showing
5 changed files
with
65 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Build and Deploy Documentation | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
build-documentation: | ||
name: Build and deploy cFS documents | ||
uses: nasa/cFS/.github/workflows/build-deploy-doc.yml@main | ||
with: | ||
target: "[\"ds-usersguide\"]" | ||
app-name: ds | ||
buildpdf: ${{ github.event_name == 'push' && contains(github.ref, 'main')}} | ||
deploy: ${{ github.event_name == 'push' && contains(github.ref, 'main')}} |
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,12 @@ | ||
name: Build and Run | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
build-run: | ||
name: Build and run with startup msg verification | ||
uses: nasa/cFS/.github/workflows/build-run-app.yml@main | ||
with: | ||
startup-string: Application initialized |
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,12 @@ | ||
name: Format Check | ||
|
||
# Run on all push and pull requests | ||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
format-check: | ||
name: Run format check | ||
uses: nasa/cFS/.github/workflows/format-check.yml@main | ||
|
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,13 @@ | ||
name: Static Analysis | ||
|
||
# Run on all push and pull requests | ||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
static-analysis: | ||
name: Run cppcheck | ||
uses: nasa/cFS/.github/workflows/static-analysis.yml@main | ||
with: | ||
strict-dir-list: './fsw' |
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,13 @@ | ||
name: Unit Test and Coverage | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
unit-test-coverage: | ||
name: Run unit test and coverage | ||
uses: nasa/cFS/.github/workflows/unit-test-coverage.yml@main | ||
with: | ||
max-missed-branches: 11 | ||
max-missed-lines: 5 |