Skip to content

Commit 69cbe56

Browse files
authored
Merge pull request #39 from cybozu/modify-test-workflow
Renamed test workflow
2 parents 8d11479 + 386a01d commit 69cbe56

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/run-test.yml .github/workflows/test.yml

+9-5
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
1-
name: Run Test
1+
name: Test
22

33
on:
44
workflow_dispatch:
55
push:
66
tags:
77
- "*.*.*"
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
run-unit-test:
11-
name: Run Unit Test
15+
name: Unit Test
1216
runs-on: macos-14
1317
timeout-minutes: 30
1418
env:
@@ -26,12 +30,12 @@ jobs:
2630
xcodebuild -scheme spp test \
2731
-only-testing:SourcePackagesParserTests \
2832
-destination "platform=macOS,arch=arm64" \
29-
-resultBundlePath SourcePackagesParserTests | \
33+
-resultBundlePath TestResults/result_bundle | \
3034
xcpretty -c && exit ${PIPESTATUS[0]}
3135
3236
- name: Archive test results
3337
if: success() || failure()
3438
uses: kishikawakatsumi/xcresulttool@v1
3539
with:
36-
path: |
37-
SourcePackagesParserTests.xcresult
40+
path: TestResults/result_bundle.xcresult
41+
show-passed-tests: false

0 commit comments

Comments
 (0)