File tree Expand file tree Collapse file tree 3 files changed +39
-5
lines changed Expand file tree Collapse file tree 3 files changed +39
-5
lines changed Original file line number Diff line number Diff line change
1
+ name : " Run Tests on Linux"
2
+
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+ pull_request :
7
+ branches : [ main ]
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : fwal/setup-swift@v1.3.0
14
+ - uses : actions/checkout@v2
15
+ with :
16
+ submodules : true
17
+ - name : Show Swift Version
18
+ run : swift --version
19
+ - name : Build
20
+ run : swift build
21
+ - name : Test
22
+ run : swift test
Original file line number Diff line number Diff line change
1
+ #if !canImport(ObjectiveC)
1
2
import XCTest
2
3
3
- #if !canImport(ObjectiveC)
4
- public func allTests( ) -> [ XCTestCaseEntry ] {
4
+ extension Swift_CRC32Tests {
5
+ // DO NOT MODIFY: This is autogenerated, use:
6
+ // `swift test --generate-linuxmain`
7
+ // to regenerate.
8
+ static let __allTests__Swift_CRC32Tests = [
9
+ ( " test192BitValue " , test192BitValue) ,
10
+ ( " testSimpleData " , testSimpleData) ,
11
+ ( " testSimpleNumbersCRC32 " , testSimpleNumbersCRC32) ,
12
+ ]
13
+ }
14
+
15
+ public func __allTests( ) -> [ XCTestCaseEntry ] {
5
16
return [
6
- testCase ( Swift_CRC32Tests . allTests ) ,
17
+ testCase ( Swift_CRC32Tests . __allTests__Swift_CRC32Tests ) ,
7
18
]
8
19
}
9
20
#endif
Original file line number Diff line number Diff line change 1
1
import XCTest
2
2
3
- import Swift_CRC32Tests
3
+ import CRC32CTests
4
4
5
5
var tests = [ XCTestCaseEntry] ( )
6
- tests += Swift_CRC32Tests . allTests ( )
6
+ tests += CRC32CTests . __allTests ( )
7
+
7
8
XCTMain ( tests)
You can’t perform that action at this time.
0 commit comments