Skip to content

Commit

Permalink
Update tests.yml (#510)
Browse files Browse the repository at this point in the history
* Update tests.yml

* update tests.yaml

* update packages

* update test

* update snapshot tests

* make sendable

* update package

* update fastfile

* add config
  • Loading branch information
mltbnz authored Sep 14, 2024
1 parent df391cc commit be62ee2
Show file tree
Hide file tree
Showing 14 changed files with 152 additions and 133 deletions.
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

0 comments on commit be62ee2

Please sign in to comment.