Skip to content

Commit ecb1e76

Browse files
Rename build job and add unit test step
Updated workflow to include unit tests after build.
1 parent 498fb85 commit ecb1e76

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches: [ "main" ]
88

99
jobs:
10-
build:
10+
build-and-test:
1111
runs-on: macos-latest
1212

1313
steps:
@@ -23,3 +23,10 @@ jobs:
2323
-project "Leaf Lens.xcodeproj" \
2424
-scheme "Leaf Lens" \
2525
-destination 'platform=iOS Simulator,name=iPhone SE (3rd generation)'
26+
27+
- name: Run Unit Tests
28+
run: |
29+
xcodebuild test \
30+
-project "Leaf Lens.xcodeproj" \
31+
-scheme "Leaf Lens" \
32+
-destination 'platform=iOS Simulator,name=iPhone SE (3rd generation)'

0 commit comments

Comments
 (0)