Skip to content

Commit ad0b319

Browse files
Enable tests in ci/cd.
Delete Carthage in macOS-11 github actions pipeline.
1 parent e2a3b9c commit ad0b319

File tree

2 files changed

+10
-40
lines changed

2 files changed

+10
-40
lines changed

.github/workflows/macOS-11.yml

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -31,33 +31,3 @@ jobs:
3131
run: swift test --skip-build -c debug --filter localTests
3232
- name: Run remote tests
3333
run: swift test --skip-build -c debug --filter remoteTests
34-
35-
carthage-iOS:
36-
name: Carthage
37-
runs-on: macOS-11
38-
concurrency:
39-
group: carthage-${{ github.run_id }}
40-
cancel-in-progress: false
41-
strategy:
42-
fail-fast: false
43-
max-parallel: 2
44-
matrix:
45-
destination: ['OS=15.2,name=iPhone 13']
46-
steps:
47-
- uses: actions/checkout@v2
48-
- name: Resolving dependencies
49-
run: carthage checkout
50-
- name: Building dependencies
51-
run: carthage build --no-use-binaries --platform iOS Simulator --use-xcframeworks
52-
- name: Building framework
53-
run: xcodebuild build-for-testing -project "web3swift.xcodeproj" -scheme "web3swift" -destination "${{matrix.destination}}"
54-
- name: Install ganache
55-
run: npm install ganache --global
56-
- name: Start ganache in background
57-
run: ganache &
58-
- name: Wait till ganache starts
59-
run: sleep 1
60-
- name: Run local tests
61-
run: xcodebuild test-without-building -project "web3swift.xcodeproj" -scheme "web3swift" -destination "${{matrix.destination}}" -testPlan LocalTests
62-
- name: Run remote tests
63-
run: xcodebuild test-without-building -project "web3swift.xcodeproj" -scheme "web3swift" -destination "${{matrix.destination}}" -testPlan RemoteTests

.github/workflows/macOS-12.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ jobs:
3737
run: swift package resolve
3838
- name: Build
3939
run: swift build --build-tests
40-
# - name: Install ganache
41-
# run: npm install ganache --global
42-
# - name: Start ganache in background
43-
# run: ganache &
44-
# - name: Wait till ganache starts
45-
# run: sleep 1
46-
# - name: Run local tests
47-
# run: swift test --skip-build -c debug --filter localTests
48-
# - name: Run remote tests
49-
# run: swift test --skip-build -c debug --filter remoteTests
40+
- name: Install ganache
41+
run: npm install ganache --global
42+
- name: Start ganache in background
43+
run: ganache &
44+
- name: Wait till ganache starts
45+
run: sleep 1
46+
- name: Run local tests
47+
run: swift test --skip-build -c debug --filter localTests
48+
- name: Run remote tests
49+
run: swift test --skip-build -c debug --filter remoteTests

0 commit comments

Comments
 (0)