Skip to content

Commit ff18914

Browse files
authored
Merge pull request #3 from thogue12/testing
2 parents 8a430bc + 6acabed commit ff18914

File tree

5 files changed

+5
-23
lines changed

5 files changed

+5
-23
lines changed

.github/workflows/build-image.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
name: Build Docker Image
22
on:
3-
workflow_dispatch:
3+
workflow_call:
44

5-
permissions:
6-
contents: read
7-
security-events: write
8-
actions: read
95

106
jobs:
117
# Build Docker Image

.github/workflows/lint-format.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
name: Linting and Formating checks
22
on:
3-
workflow_dispatch:
4-
5-
permissions:
6-
contents: read
7-
security-events: write
8-
actions: read
3+
workflow_call:
94

105
jobs:
116
# Run Pylint and Black formatter

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ permissions:
99
security-events: write
1010
actions: read
1111

12+
1213
jobs:
1314
build-image:
1415
uses: ./.github/workflows/build-image.yml

.github/workflows/push-image.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
name: Push Contianer to Docker Hub
22
on:
3-
workflow_dispatch:
3+
workflow_call:
44

5-
permissions:
6-
contents: read
7-
security-events: write
8-
actions: read
95

106
jobs:
117

.github/workflows/unit-sec-test.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
name: Unit and Security Testing
22
on:
3-
workflow_dispatch:
4-
5-
6-
permissions:
7-
contents: read
8-
security-events: write
9-
actions: read
3+
workflow_call:
104

115
jobs:
126
# Run unit test cases for the Docker image

0 commit comments

Comments
 (0)