Skip to content

Commit

Permalink
Add doc, build-run, format, static analysis, and unit test workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
skliper committed Apr 26, 2022
1 parent b7d994c commit 53fdadf
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/build-documentation.yml
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')}}
12 changes: 12 additions & 0 deletions .github/workflows/build-run-app.yml
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
12 changes: 12 additions & 0 deletions .github/workflows/format-check.yml
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

13 changes: 13 additions & 0 deletions .github/workflows/static-analysis.yml
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'
13 changes: 13 additions & 0 deletions .github/workflows/unit-test-coverage.yml
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

0 comments on commit 53fdadf

Please sign in to comment.