Skip to content

Commit 6946972

Browse files
mbrandonwp4checo
authored andcommitted
Don't run tests on Dependencies, it's already run on ComposableArchitecture.
(cherry picked from commit 626f506e888985b1631799c892e9146115eeed9e)
1 parent 258b3dd commit 6946972

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,12 @@ jobs:
2222
xcode:
2323
- '14.1'
2424
config: ['debug', 'release']
25-
scheme: ['Dependencies', 'ComposableArchitecture']
2625
steps:
2726
- uses: actions/checkout@v2
2827
- name: Select Xcode ${{ matrix.xcode }}
2928
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
30-
- name: Run ${{ matrix.scheme }} ${{ matrix.config }} tests
31-
run: CONFIG=${{ matrix.config }} SCHEME=${{ matrix.scheme }} make test-library
29+
- name: Run ${{ matrix.config }} tests
30+
run: CONFIG=${{ matrix.config }} make test-library
3231

3332
library-evolution:
3433
runs-on: macos-12

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ PLATFORM_WATCHOS = watchOS Simulator,name=Apple Watch Series 7 (45mm)
77
default: test-all
88

99
test-all: test-examples
10-
CONFIG=debug SCHEME=ComposableArchitecture test-library
11-
CONFIG=release SCHEME=ComposableArchitecture test-library
12-
CONFIG=debug SCHEME=Dependencies test-library
13-
CONFIG=release SCHEME=Dependencies test-library
10+
CONFIG=debug test-library
11+
CONFIG=release test-library
12+
CONFIG=debug test-library
13+
CONFIG=release test-library
1414

1515
test-library:
1616
for platform in "$(PLATFORM_IOS)" "$(PLATFORM_MACOS)" "$(PLATFORM_MAC_CATALYST)" "$(PLATFORM_TVOS)" "$(PLATFORM_WATCHOS)"; do \
1717
xcodebuild test \
1818
-configuration $(CONFIG) \
1919
-workspace ComposableArchitecture.xcworkspace \
20-
-scheme $(SCHEME) \
20+
-scheme ComposableArchitecture
2121
-destination platform="$$platform" || exit 1; \
2222
done;
2323

0 commit comments

Comments
 (0)