Skip to content

Commit 99ace2c

Browse files
committed
CI tests on DEBUG
1 parent 35fd161 commit 99ace2c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ jobs:
88
steps:
99
- uses: actions/checkout@v2
1010
- name: Build
11-
run: swift build -v -c release
11+
run: swift build -v -c debug
1212
- name: Run tests
13-
run: swift test -v -c release --filter CodableCSVTests
13+
run: swift test -v -c debug --filter CodableCSVTests
1414

1515
unittests_on_Ubuntu:
1616
name: Unit tests on Ubuntu
@@ -20,6 +20,6 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v2
2222
- name: Build
23-
run: swift build -v -c release
23+
run: swift build -v -c debug
2424
- name: Run tests
25-
run: swift test -v -c release --filter CodableCSVTests --enable-test-discovery
25+
run: swift test -v -c debug --filter CodableCSVTests --enable-test-discovery

sources/Utils.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Foundation
33
extension InputStream {
44
/// Stream for reading from stdin.
55
public static var standardInput: InputStream {
6-
Self(fileAtPath: "/dev/stdin")!
6+
InputStream(fileAtPath: "/dev/stdin")!
77
}
88
}
99

0 commit comments

Comments
 (0)