Skip to content

Commit

Permalink
chore: run all tests
Browse files Browse the repository at this point in the history
  • Loading branch information
grdsdev committed Apr 3, 2024
1 parent db80aa4 commit 2e63ab6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .swiftpm/xcode/xcshareddata/xcschemes/Supabase.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
reference = "container:Supabase.xctestplan"
default = "YES">
</TestPlanReference>
<TestPlanReference
reference = "container:AllTests.xctestplan">
</TestPlanReference>
</TestPlans>
</TestAction>
<LaunchAction
Expand Down
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,14 @@ PLATFORM ?= iOS Simulator,name=iPhone 15 Pro
set-env:
@source scripts/setenv.sh > Tests/IntegrationTests/Environment.swift

test-all: test-library test-linux
test-all: set-env
set -o pipefail && \
xcodebuild test \
-skipMacroValidation \
-workspace supabase-swift.xcworkspace \
-scheme "$(SCHEME)" \
-testPlan AllTests \
-destination platform="$(PLATFORM)" | xcpretty

test-library: set-env
set -o pipefail && \
Expand Down

0 comments on commit 2e63ab6

Please sign in to comment.