Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tests.yml #510

Merged
merged 9 commits into from
Sep 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
root = true

[*.swift]
indent_style = space
indent_size = 2
tab_width = 2
end_of_line = crlf
max_line_length = 180
trim_trailing_whitespace = true
insert_final_newline = true
12 changes: 3 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
unit_tests:
name: Unit Tests
runs-on: macos-13
runs-on: macos-14
strategy:
matrix:
platform:
Expand All @@ -26,16 +26,10 @@ jobs:
- name: Setup Xcode version
uses: maxim-lobanov/[email protected]
with:
xcode-version: latest-stable

- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
xcode-version: 15.4

- name: Run UnitTests
run: bundle exec fastlane test
run: fastlane test

- name: Archive test artifacts
uses: actions/upload-artifact@v4
Expand Down
4 changes: 4 additions & 0 deletions CriticalMaps.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,7 @@
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_STRICT_CONCURRENCY = complete;
};
name = Debug;
};
Expand Down Expand Up @@ -661,6 +662,7 @@
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
SWIFT_STRICT_CONCURRENCY = complete;
VALIDATE_PRODUCT = YES;
};
name = Release;
Expand Down Expand Up @@ -689,6 +691,7 @@
PROVISIONING_PROFILE_SPECIFIER = "Critical Maps Prov Profile";
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "Criticalmaps dist";
RUN_DOCUMENTATION_COMPILER = NO;
SWIFT_STRICT_CONCURRENCY = complete;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
Expand Down Expand Up @@ -719,6 +722,7 @@
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "Criticalmaps dist";
RUN_DOCUMENTATION_COMPILER = NO;
SKIP_INSTALL = NO;
SWIFT_STRICT_CONCURRENCY = complete;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/mltbnz/composable-core-location.git",
"state" : {
"branch" : "main",
"revision" : "1f9070ce561e4ef164cc8e124e37c77eaf2f4b4f"
}
},
Expand Down Expand Up @@ -161,15 +162,6 @@
"version" : "600.0.0"
}
},
{
"identity" : "swiftformatplugin",
"kind" : "remoteSourceControl",
"location" : "https://github.com/MarcoEidinger/SwiftFormatPlugin",
"state" : {
"revision" : "cc9614586ab73e7137959396885a13773d89f66e",
"version" : "0.50.3"
}
},
{
"identity" : "xctest-dynamic-overlay",
"kind" : "remoteSourceControl",
Expand Down
Loading