Skip to content

Commit c83249b

Browse files
authored
Add missing swift build for linux ci (#104)
1 parent 3cdbc76 commit c83249b

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.github/workflows/ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,7 @@ jobs:
3232
timeout-minutes: 10
3333
steps:
3434
- uses: actions/checkout@v4
35+
- name: Build Swift
36+
run: make build-swift
3537
- name: Run Swift Tests
3638
run: make test

Makefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,7 @@ test-swift6:
3232
swift package clean
3333
swift test -Xswiftc -swift-version -Xswiftc 6
3434

35-
.PHONY: build-all build test test-swift6
35+
build-swift:
36+
swift build
37+
38+
.PHONY: build-all build test test-swift6 build-swift

Tests/OneWayTests/StoreTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ final class StoreTests: XCTestCase {
6161
func test_lotsOfActions() async {
6262
let iterations: Int = 100_000
6363
await sut.send(.incrementMany)
64-
await sut.expect(\.count, iterations, timeout: 5)
64+
await sut.expect(\.count, iterations, timeout: 10)
6565
}
6666

6767
func test_threadSafeSendingActions() async {

0 commit comments

Comments
 (0)