Skip to content

Commit 9a39245

Browse files
committed
Update CI test targets for renamed specs
1 parent 93094cf commit 9a39245

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,17 @@ jobs:
2929
- name: Run ShellSpec (smoke)
3030
id: shellspec_smoke
3131
continue-on-error: true
32-
run: SHELLSPEC_ARGS='--output junit --shell /bin/sh --reportdir report/smoke' make test-smokespec
32+
run: SHELLSPEC_ARGS='--output junit --shell /bin/sh --reportdir report/smoke' make test-smoke
3333

34-
- name: Run ShellSpec (runtime errors)
35-
id: shellspec_error
34+
- name: Run ShellSpec (unit)
35+
id: shellspec_unit
3636
continue-on-error: true
37-
run: SHELLSPEC_ARGS='--output junit --shell /bin/sh --reportdir report/error' make test-errorspec
37+
run: SHELLSPEC_ARGS='--output junit --shell /bin/sh --reportdir report/unit' make test-unit
3838

3939
- name: Run ShellSpec (integration)
4040
id: shellspec_integration
4141
continue-on-error: true
42-
run: SHELLSPEC_ARGS='--output junit --shell /bin/sh --reportdir report/integration' make test-integration
42+
run: SHELLSPEC_ARGS='--output junit --shell /bin/sh --reportdir report/integration' make test-int
4343

4444
- name: Upload smoke test report
4545
if: always()
@@ -49,12 +49,12 @@ jobs:
4949
path: report/smoke/results_junit.xml
5050
if-no-files-found: warn
5151

52-
- name: Upload runtime error test report
52+
- name: Upload unit test report
5353
if: always()
5454
uses: actions/upload-artifact@v4
5555
with:
56-
name: shellspec-error-junit
57-
path: report/error/results_junit.xml
56+
name: shellspec-unit-junit
57+
path: report/unit/results_junit.xml
5858
if-no-files-found: warn
5959

6060
- name: Upload integration test report
@@ -74,12 +74,12 @@ jobs:
7474
reporter: java-junit
7575
fail-on-error: false
7676

77-
- name: Publish runtime error test report
77+
- name: Publish unit test report
7878
if: always()
7979
uses: dorny/test-reporter@v1
8080
with:
81-
name: shellspec-error
82-
path: report/error/results_junit.xml
81+
name: shellspec-unit
82+
path: report/unit/results_junit.xml
8383
reporter: java-junit
8484
fail-on-error: false
8585

@@ -93,7 +93,7 @@ jobs:
9393
fail-on-error: false
9494

9595
- name: Fail if tests failed
96-
if: steps.shellspec_smoke.outcome != 'success' || steps.shellspec_error.outcome != 'success' || steps.shellspec_integration.outcome != 'success'
96+
if: steps.shellspec_smoke.outcome != 'success' || steps.shellspec_unit.outcome != 'success' || steps.shellspec_integration.outcome != 'success'
9797
run: exit 1
9898

9999
- name: Configure AWS credentials (OIDC)
@@ -108,7 +108,7 @@ jobs:
108108
run: aws sts get-caller-identity
109109

110110
- name: Publish and deploy dev SAR (amd64)
111-
if: github.ref == 'refs/heads/main' && github.event_name == 'push' && steps.shellspec_smoke.outcome == 'success' && steps.shellspec_error.outcome == 'success' && steps.shellspec_integration.outcome == 'success'
111+
if: github.ref == 'refs/heads/main' && github.event_name == 'push' && steps.shellspec_smoke.outcome == 'success' && steps.shellspec_unit.outcome == 'success' && steps.shellspec_integration.outcome == 'success'
112112
env:
113113
ENV: dev
114114
run: |

0 commit comments

Comments
 (0)