This repository has been archived by the owner on Jan 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #64 from justeat/session-recording
Bring internal version of component to public repository
- Loading branch information
Showing
74 changed files
with
1,780 additions
and
1,254 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,10 +5,6 @@ jobs: | |
runs-on: macOS-latest | ||
timeout-minutes: 15 | ||
steps: | ||
- name: Cancel previous jobs | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
- name: Git checkout | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -18,22 +14,9 @@ jobs: | |
uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: latest-stable | ||
- name: Setup ruby and bundler dependencies | ||
uses: ruby/[email protected] | ||
with: | ||
bundler-cache: true | ||
- name: Build for testing | ||
run: | | ||
xcodebuild build-for-testing \ | ||
-scheme Shock \ | ||
-destination "platform=iOS Simulator,OS=15.2,name=iPhone 13" | ||
- name: Test without building | ||
run: | | ||
xcodebuild test-without-building \ | ||
-scheme Shock \ | ||
-destination "platform=iOS Simulator,OS=15.2,name=iPhone 13" | ||
- name: Validate pod | ||
run: | | ||
set -eo pipefail | ||
export LIB_VERSION=$(git describe --tags `git rev-list --tags --max-count=1`) | ||
bundle exec pod lib lint --allow-warnings | ||
- name: Delete build artifacts | ||
shell: bash | ||
run: swift package clean | ||
- name: Run tests | ||
shell: bash | ||
run: swift test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
ASSETCATALOG_COMPILER_APPICON_NAME=AppIcon | ||
CODE_SIGN_IDENTITY=Apple Development | ||
CODE_SIGN_STYLE=Automatic | ||
DEVELOPMENT_TEAM= | ||
ENABLE_NS_ASSERTIONS=NO | ||
ENABLE_PREVIEWS=YES | ||
ENABLE_TESTABILITY=YES | ||
FRAMEWORK_SEARCH_PATHS=$(inherited) | ||
GCC_OPTIMIZATION_LEVEL[config=Debug]=0 | ||
GCC_OPTIMIZATION_LEVEL[config=Release]=fast | ||
GCC_PREPROCESSOR_DEFINITIONS[config=Debug]=DEBUG=1 $(inherited) | ||
LD_RUNPATH_SEARCH_PATHS=$(inherited) @executable_path/Frameworks | ||
MTL_ENABLE_DEBUG_INFO[config=Debug]=YES | ||
MTL_ENABLE_DEBUG_INFO[config=Release]=NO | ||
PRODUCT_BUNDLE_IDENTIFIER=com.justeattakeaway.shock.demoapp | ||
PRODUCT_MODULE_NAME=$(TARGET_NAME:c99extidentifier) | ||
PRODUCT_NAME=$(TARGET_NAME) | ||
PROVISIONING_PROFILE_SPECIFIER[config=Debug]= | ||
PROVISIONING_PROFILE_SPECIFIER[config=Release]= | ||
SWIFT_OPTIMIZATION_LEVEL=-Onone | ||
TARGETED_DEVICE_FAMILY=1,2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
ALWAYS_SEARCH_USER_PATHS=NO | ||
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED=YES | ||
CLANG_CXX_LANGUAGE_STANDARD=gnu++0x | ||
CLANG_CXX_LIBRARY=libc++ | ||
CLANG_ENABLE_MODULES=YES | ||
CLANG_ENABLE_OBJC_ARC=YES | ||
CLANG_WARN__DUPLICATE_METHOD_MATCH=YES | ||
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING=YES | ||
CLANG_WARN_BOOL_CONVERSION=YES | ||
CLANG_WARN_COMMA=YES | ||
CLANG_WARN_CONSTANT_CONVERSION=YES | ||
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS=YES | ||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE=YES_ERROR | ||
CLANG_WARN_EMPTY_BODY=YES | ||
CLANG_WARN_ENUM_CONVERSION=YES | ||
CLANG_WARN_INFINITE_RECURSION=YES | ||
CLANG_WARN_INT_CONVERSION=YES | ||
CLANG_WARN_NON_LITERAL_NULL_CONVERSION=YES | ||
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF=YES | ||
CLANG_WARN_OBJC_LITERAL_CONVERSION=YES | ||
CLANG_WARN_OBJC_ROOT_CLASS=YES_ERROR | ||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER=YES | ||
CLANG_WARN_RANGE_LOOP_ANALYSIS=YES | ||
CLANG_WARN_STRICT_PROTOTYPES=YES | ||
CLANG_WARN_SUSPICIOUS_MOVE=YES | ||
CLANG_WARN_UNREACHABLE_CODE=YES | ||
COPY_PHASE_STRIP=NO | ||
CURRENT_PROJECT_VERSION=1 | ||
DEBUG_INFORMATION_FORMAT[config=Debug]=dwarf | ||
DEBUG_INFORMATION_FORMAT[config=Release]=dwarf-with-dsym | ||
ENABLE_NS_ASSERTIONS[config=Debug]=YES | ||
ENABLE_NS_ASSERTIONS[config=Release]=NO | ||
ENABLE_STRICT_OBJC_MSGSEND=YES | ||
GCC_C_LANGUAGE_STANDARD=gnu99 | ||
GCC_DYNAMIC_NO_PIC=NO | ||
GCC_NO_COMMON_BLOCKS=YES | ||
GCC_OPTIMIZATION_LEVEL=fast | ||
GCC_SYMBOLS_PRIVATE_EXTERN=NO | ||
GCC_TREAT_WARNINGS_AS_ERRORS=YES | ||
GCC_WARN_64_TO_32_BIT_CONVERSION=YES | ||
GCC_WARN_ABOUT_RETURN_TYPE=YES_ERROR | ||
GCC_WARN_UNDECLARED_SELECTOR=YES | ||
GCC_WARN_UNINITIALIZED_AUTOS=YES_AGGRESSIVE | ||
GCC_WARN_UNUSED_FUNCTION=YES | ||
GCC_WARN_UNUSED_VARIABLE=YES | ||
IPHONEOS_DEPLOYMENT_TARGET=15.2 | ||
MARKETING_VERSION=1.0 | ||
ONLY_ACTIVE_ARCH=YES | ||
OTHER_LDFLAGS=$(OTHER_LDFLAGS) -ObjC | ||
SDKROOT=iphoneos | ||
SWIFT_OPTIMIZATION_LEVEL=-O | ||
SWIFT_TREAT_WARNINGS_AS_ERRORS=YES | ||
SWIFT_VERSION=5.0 | ||
VALIDATE_PRODUCT=YES | ||
VERSIONING_SYSTEM=apple-generic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
CLANG_ANALYZER_NONNULL=YES | ||
CLANG_WARN_DOCUMENTATION_COMMENTS=YES | ||
INFOPLIST_FILE=UITests/Info.plist | ||
LD_RUNPATH_SEARCH_PATHS=$(inherited) @executable_path/Frameworks @loader_path/Frameworks | ||
PRODUCT_BUNDLE_IDENTIFIER=com.justeattakeaway.shock.uitests | ||
PRODUCT_NAME=$(TARGET_NAME) | ||
SWIFT_ACTIVE_COMPILATION_CONDITIONS[config=Debug]=DEBUG | ||
SWIFT_OPTIMIZATION_LEVEL=-O | ||
TEST_TARGET_NAME=DemoApp |
Oops, something went wrong.