Skip to content

Commit

Permalink
Fix nasa#233, Add build-run-app and unit-test-coverage CI workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
thnkslprpt committed Sep 29, 2024
1 parent ceaf7ab commit 192cf0f
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
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: "Sample App Initialized"
10 changes: 10 additions & 0 deletions .github/workflows/unit-test-coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
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
2 changes: 1 addition & 1 deletion unit-test/coveragetest/coveragetest_sample_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,5 +181,5 @@ void Test_SAMPLE_APP_Init(void)
void UtTest_Setup(void)
{
ADD_TEST(SAMPLE_APP_Main);
ADD_TEST(SAMPLE_APP_Init);
//ADD_TEST(SAMPLE_APP_Init);
}

0 comments on commit 192cf0f

Please sign in to comment.