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 May 9, 2022
1 parent 514884c commit 5ac69f7
Show file tree
Hide file tree
Showing 5 changed files with 63 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: "[\"md-usersguide\"]"
app-name: md
buildpdf: ${{ github.event_name == 'push' && contains(github.ref, 'main')}}
deploy: ${{ github.event_name == 'push' && contains(github.ref, 'main')}}
10 changes: 10 additions & 0 deletions .github/workflows/build-run-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
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
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: 7
max-missed-lines: 11

0 comments on commit 5ac69f7

Please sign in to comment.