Skip to content

Commit 19803fb

Browse files
Update ci/cd.
1 parent 62272dd commit 19803fb

File tree

8 files changed

+5
-4
lines changed

8 files changed

+5
-4
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- master
77
- develop
88
- hotfix
9-
- ganche-tests
9+
- ganache-tests
1010
paths:
1111
- Sources/**
1212
- 'Tests/**'
@@ -30,8 +30,8 @@ jobs:
3030
run: swift package resolve
3131
- name: Build
3232
run: swift build --build-tests
33-
# - name: Run local tests
34-
# run: swift test --skip-build -c debug --filter localTests
33+
- name: Run local tests
34+
run: swift test --skip-build -c debug --filter remoteTests
3535
carthage:
3636
name: Carthage
3737
runs-on: macOS-11

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ let package = Package(
5353
.testTarget(
5454
name: "remoteTests",
5555
dependencies: ["web3swift"],
56-
path: "Tests/web3swiftTests/infuraTests",
56+
path: "Tests/web3swiftTests/remoteTests",
5757
resources: [
5858
.copy("../../../TestToken/Helpers/SafeMath/SafeMath.sol"),
5959
.copy("../../../TestToken/Helpers/TokenBasics/ERC20.sol"),

Tests/web3swiftTests/infuraTests/web3swiftENSTests.swift renamed to Tests/web3swiftTests/remoteTests/web3swiftENSTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ class web3swiftENSTests: XCTestCase {
2727
let ens = ENS(web3: web)
2828
let domain = "somename.eth"
2929
let address = try ens?.registry.getResolver(forDomain: domain).resolverContractAddress
30+
print(address)
3031
XCTAssertEqual(address?.address.lowercased(), "0x5ffc014343cd971b7eb70732021e26c35b744cc4")
3132
}
3233

0 commit comments

Comments
 (0)