Skip to content

Commit

Permalink
Merge branch 'main' into sdk-3508/smoke-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
poovamraj committed Jul 11, 2023
2 parents 255fd08 + d72bf76 commit c6cdbb9
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ orbs:
sed -i "s/YOUR_AUTH0_DOMAIN/$AUTH0_DOMAIN/" android/app/src/main/res/values/strings.xml
mv android/local.properties.ci android/local.properties
working_directory: ./auth0_flutter/example

jobs:
test_flutter_package:
docker:
Expand Down Expand Up @@ -230,20 +229,26 @@ jobs:
when: on_fail
test_ios:
parameters:
ios_version:
type: string
ios_simulator:
type: string
macos:
xcode: "13.0.0"
xcode: "14.2.0"
resource_class: macos.m1.large.gen1
environment:
BUNDLE_RETRY: 3
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_NO_INSTALL_CLEANUP: 1
steps:
- checkout
- macos/preboot-simulator:
version: "15.0"
version: << parameters.ios_version >>
platform: iOS
device: << parameters.ios_simulator >>
- run:
name: Install Rosetta
command: /usr/sbin/softwareupdate --install-rosetta --agree-to-license
- flutter-install/install_sdk
- flutter/install_pub:
app-dir: ./auth0_flutter/example
Expand Down Expand Up @@ -271,6 +276,9 @@ jobs:
mkdir cobertura
bundle exec slather
working_directory: ./auth0_flutter/example/ios
- run:
name: Create ~/.gnupg dir if it does not exist
command: mkdir -p ~/.gnupg
- codecov/upload:
file: ./auth0_flutter/example/ios/cobertura/cobertura.xml
upload_name: Auth0 Flutter iOS
Expand All @@ -287,6 +295,7 @@ workflows:
requires:
- test_flutter_package
- test_ios:
ios_simulator: iPhone 13
ios_version: "16.2"
ios_simulator: iPhone 14
requires:
- test_flutter_package

0 comments on commit c6cdbb9

Please sign in to comment.