Skip to content

Commit 95b3465

Browse files
ci: add BlackRoad CI workflow
1 parent ae85156 commit 95b3465

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/blackroad-ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: BlackRoad CI
2+
on:
3+
push:
4+
branches: [main, master]
5+
paths:
6+
- ".blackroad/**"
7+
pull_request:
8+
branches: [main, master]
9+
paths:
10+
- ".blackroad/**"
11+
12+
jobs:
13+
validate:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- name: Validate integration config
18+
run: |
19+
if [ -f .blackroad/config.json ]; then
20+
python3 -c "import json; json.load(open('.blackroad/config.json'))" && echo "Config valid" || echo "Config invalid"
21+
fi
22+
- name: Check integration README
23+
run: test -f .blackroad/README.md && echo "README present" || echo "README missing"
24+

0 commit comments

Comments
 (0)