Skip to content

Commit 594a3b4

Browse files
Fix ch7 workflow: add on: triggers and call reusable job
1 parent a28489a commit 594a3b4

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/ch7.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI: Chapter 7 (TD Control)
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
paths:
7+
- "ch7_td_control/**"
8+
- "tests/**"
9+
- ".github/workflows/ch7.yml"
10+
- ".github/workflows/_chapter-tests.yml"
11+
- "requirements.txt"
12+
pull_request:
13+
branches: [ "main" ]
14+
paths:
15+
- "ch7_td_control/**"
16+
- "tests/**"
17+
- ".github/workflows/ch7.yml"
18+
- ".github/workflows/_chapter-tests.yml"
19+
- "requirements.txt"
20+
21+
jobs:
22+
ch7:
23+
uses: ./.github/workflows/_chapter-tests.yml
24+
with:
25+
chapter: ch7_td_control

0 commit comments

Comments
 (0)