Skip to content

Commit 2d36302

Browse files
committed
ci: build and test
1 parent afe5018 commit 2d36302

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

.github/workflows/build-and-test.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: Build and Test
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
call-build:
8+
uses: ./workflows/docker-build.yaml
9+
call-test:
10+
uses: ./workflows/pytest.yaml

.github/workflows/docker-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Workflows Docker Build
22

33
on:
4-
push:
4+
workflow_call:
55

66
env:
77
REGISTRY: ghcr.io

.github/workflows/pytest.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
name: pytest-workflow Check
22

33
on:
4-
workflow_run:
5-
workflows: ["Workflows Docker Build"]
6-
types:
7-
- completed
4+
workflow_call:
85

96
jobs:
107
on-success:

0 commit comments

Comments
 (0)