Skip to content

Commit ae91d6a

Browse files
authored
Format and fix CI job (#239)
1 parent 8a545f2 commit ae91d6a

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

.github/workflows/pr.yml

+13-2
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,17 @@ jobs:
185185
check-pr:
186186
needs: ["build", "integration-tests", "format"]
187187
runs-on: ubuntu-latest
188+
if: always() # always report a status
188189
steps:
189-
- name: OK
190-
run: echo "OK"
190+
- name: Build failed
191+
if: ${{ needs.build.result != 'success' }}
192+
run: exit 1
193+
- name: Integration tests failed
194+
if: ${{ needs.integration-tests.result != 'success' }}
195+
run: exit 1
196+
- name: Format failed
197+
if: ${{ needs.format.result != 'success' }}
198+
run: exit 1
199+
- name: CI succeeded
200+
run: exit 0
201+

sdk/Pulumi.Tests/Serialization/ConstructorParamAttributeTests.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ public async Task TestOutputConstructorParameter()
3737
Assert.Equal("somevalue", data.Value.StringProp);
3838
}
3939
}
40-
}
40+
}

0 commit comments

Comments
 (0)