Skip to content

Commit 216c8d5

Browse files
committed
Github. Added workflow to run cdk tests for all blueprints for PRs to main
1 parent 91054b5 commit 216c8d5

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: blueprints-cdk-tests
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
blueprints-cdk-tests:
10+
name: Run CDK tests for all blueprints
11+
runs-on: ubuntu-latest
12+
defaults:
13+
run:
14+
shell: bash
15+
working-directory: scripts
16+
steps:
17+
- uses: actions/checkout@v2
18+
- uses: actions/setup-node@v3
19+
with:
20+
node-version: 19
21+
cache: npm
22+
cache-dependency-path: package-lock.json
23+
24+
- name: Install dependencies
25+
run: npm ci
26+
- name: Run unit tests
27+
run: ./run-all-cdk-tests.sh

.vscode/settings.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"cSpell.words": [
3+
"bcuser",
4+
"usermod"
5+
]
6+
}
File renamed without changes.

0 commit comments

Comments
 (0)