Skip to content

Commit e63b788

Browse files
committed
fix: 🐛 Update test matrix to fix workflow invalid error and include the specific case we want instead of excluding extra ones we don't want
1 parent 1007579 commit e63b788

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/build-image.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,17 +114,19 @@ jobs:
114114
ref: ["main"]
115115
caller_token: ["${{ github.token }}"]
116116
clone_repo: [true, false] # false tests setup command
117-
expect_error: [false, true]
118-
exclude:
119-
# We only really need to test if the action fails the setup command in one case
120-
- write_job_summary: false
121-
clone_repo: false
117+
expect_error: [false]
118+
include:
119+
# Specific case of setup command failure
120+
- write_job_summary: true
121+
clone_repo: true
122122

123123
with:
124124
write_job_summary: ${{ matrix.write_job_summary }}
125125
repository: ${{ matrix.repository }}
126126
ref: ${{ matrix.ref }}
127127
caller_token: ${{ matrix.caller_token }}
128+
clone_repo: ${{ matrix.clone_repo }}
129+
expect_error: ${{ matrix.expect_error }}
128130

129131
Upload_Image:
130132
name: Upload Docker Image to ghcr.io Registry

0 commit comments

Comments
 (0)