From 9a3cd087f85d8624fe331e5fe846f50192ebe5a3 Mon Sep 17 00:00:00 2001 From: Avi Weiss Date: Sun, 29 Sep 2024 10:33:38 +0200 Subject: [PATCH] Fix #98, Add build-run-app and unit-test-coverage CI workflows --- .github/workflows/build-run-lib.yml | 12 ++++++++++++ .github/workflows/unit-test-coverage.yml | 10 ++++++++++ 2 files changed, 22 insertions(+) create mode 100644 .github/workflows/build-run-lib.yml create mode 100644 .github/workflows/unit-test-coverage.yml diff --git a/.github/workflows/build-run-lib.yml b/.github/workflows/build-run-lib.yml new file mode 100644 index 0000000..9bd0be7 --- /dev/null +++ b/.github/workflows/build-run-lib.yml @@ -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 Lib Initialized" diff --git a/.github/workflows/unit-test-coverage.yml b/.github/workflows/unit-test-coverage.yml new file mode 100644 index 0000000..d67e62b --- /dev/null +++ b/.github/workflows/unit-test-coverage.yml @@ -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