Skip to content

Commit becfad8

Browse files
Updated workflow configuration
1 parent e798ed3 commit becfad8

File tree

1 file changed

+19
-7
lines changed

1 file changed

+19
-7
lines changed

.github/workflows/test.yml

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,28 @@ on:
66
- main
77

88
jobs:
9-
Test:
9+
Test-Release:
1010
runs-on: ubuntu-latest
1111
timeout-minutes: 10
1212
steps:
1313
- name: Checkout Source
14-
uses: actions/checkout@v2
15-
# - name: Build
16-
# run: |
17-
# swift build --build-tests --enable-index-store --configuration release -Xswiftc -warnings-as-errors -Xcc -Werror
14+
uses: actions/checkout@v3
15+
- name: Build
16+
run: |
17+
swift build --build-tests --configuration release -Xswiftc -enable-testing -Xswiftc -warnings-as-errors -Xcc -Werror
18+
- name: Run Tests
19+
run: |
20+
swift test --skip-build --configuration release
21+
22+
Test-Debug:
23+
runs-on: ubuntu-latest
24+
timeout-minutes: 10
25+
steps:
26+
- name: Checkout Source
27+
uses: actions/checkout@v3
28+
- name: Build
29+
run: |
30+
swift build --build-tests --configuration debug -Xswiftc -enable-testing -Xswiftc -warnings-as-errors -Xcc -Werror
1831
- name: Run Tests
1932
run: |
20-
swift test --enable-index-store --configuration release
21-
# swift test --skip-build --enable-index-store --configuration release
33+
swift test --skip-build --configuration debug

0 commit comments

Comments
 (0)