Skip to content

Commit 7bd403b

Browse files
committed
Part cFS/workflows#122, Add Internal Workflows
1 parent 7575ce6 commit 7bd403b

3 files changed

Lines changed: 59 additions & 0 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Add Issue or PR to Project
2+
3+
on:
4+
issues:
5+
types: [opened]
6+
pull_request_target:
7+
types: [opened, ready_for_review, converted_to_draft]
8+
9+
jobs:
10+
add-to-project:
11+
name: Add issue or pull request to project
12+
uses: nasa/cFS/.github/workflows/add-to-project-reusable.yml@dev
13+
secrets: inherit
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Build and Run
2+
3+
on:
4+
push:
5+
branches:
6+
- dev
7+
- main
8+
pull_request:
9+
types:
10+
- opened
11+
- reopened
12+
- synchronize
13+
workflow_dispatch:
14+
schedule:
15+
# 10:45 PM UTC every Sunday
16+
- cron: '45 22 * * 0'
17+
jobs:
18+
build-run:
19+
name: Build and run with startup msg verification
20+
uses: nasa/cFS/.github/workflows/build-run-app-reusable.yml@dev
21+
with:
22+
dependency: cFS/sample_lib
23+
app-entrypoint-suffix: Main
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Unit Test and Coverage
2+
3+
on:
4+
push:
5+
branches:
6+
- dev
7+
- main
8+
pull_request:
9+
types:
10+
- opened
11+
- reopened
12+
- synchronize
13+
workflow_dispatch:
14+
schedule:
15+
# 10:50 PM UTC every Sunday
16+
- cron: '50 22 * * 0'
17+
18+
jobs:
19+
unit-test-coverage:
20+
name: Run unit test and coverage
21+
uses: nasa/cFS/.github/workflows/unit-test-coverage-reusable.yml@dev
22+
with:
23+
dependency: cFS/sample_lib

0 commit comments

Comments
 (0)