Skip to content

Commit 2250817

Browse files
fix ci
1 parent 928f227 commit 2250817

File tree

3 files changed

+7
-16
lines changed

3 files changed

+7
-16
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
runs-on: Ubuntu-18.04
1414
steps:
1515
- uses: actions/checkout@v2
16+
with:
17+
submodules: true
1618
- name: Setup swiftenv
1719
run: |
1820
git clone https://github.com/kylef/swiftenv.git ~/.swiftenv
@@ -33,6 +35,8 @@ jobs:
3335
runs-on: macOS-10.15
3436
steps:
3537
- uses: actions/checkout@v2
38+
with:
39+
submodules: true
3640
- run: sudo xcode-select -s "${{ matrix.xcode-version }}"
3741
- run: swift --version
3842
- run: swift test
@@ -41,6 +45,8 @@ jobs:
4145
runs-on: macOS-10.15
4246
steps:
4347
- uses: actions/checkout@v2
48+
with:
49+
submodules: true
4450
- run: swift test --enable-code-coverage
4551
- run: echo "SWIFT_CODECOV_PATH=$(swift test --show-codecov-path)" >> $GITHUB_ENV
4652
- uses: codecov/codecov-action@v1

Tests/LinuxMain.swift

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1 @@
1-
import XCTest
2-
3-
import WAMRTests
4-
5-
var tests = [XCTestCaseEntry]()
6-
tests += WAMRTests.allTests()
7-
XCTMain(tests)
1+
fatalError("Use `swift test --enable-test-discovery` to run tests")

Tests/WAMRTests/XCTestManifests.swift

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)