diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 661bc17..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,72 +0,0 @@ -version: 2.1 -orbs: - macos: circleci/macos@2 - flutter: circleci/flutter@1 -parameters: - flutter_version: - type: string - default: 3.7.3 -jobs: - analyze_and_test: - docker: - - image: cimg/base:current - steps: - - checkout - - flutter/install_sdk_and_pub: - app-dir: ./sample - flutter_version: << pipeline.parameters.flutter_version >> - - run: - name: Prepare Environment Variables - command: cp .env.example .env - working_directory: ./sample - - run: - name: Analyze package - command: flutter analyze - working_directory: ./sample - - run: - name: Tests - command: flutter test - working_directory: ./sample - test_ios: - parameters: - ios_simulator: - type: string - macos: - xcode: '13.0.0' - environment: - BUNDLE_RETRY: 3 - HOMEBREW_NO_AUTO_UPDATE: 1 - HOMEBREW_NO_INSTALL_CLEANUP: 1 - steps: - - checkout - - macos/preboot-simulator: - version: '15.0' - platform: iOS - device: << parameters.ios_simulator >> - - flutter/install_sdk_and_pub: - app-dir: ./sample - flutter_version: << pipeline.parameters.flutter_version >> - - flutter/install_ios_pod: - app-dir: ./sample - - run: - name: Run iOS tests - command: | - printf '%s\n%s\n%s' "AUTH0_DOMAIN=$AUTH0_DOMAIN" "AUTH0_CLIENT_ID=$AUTH0_CLIENT_ID" 'AUTH0_CUSTOM_SCHEME=demo' >> ../.env - pod install - SCHEME=Runner - WORKSPACE="$SCHEME".xcworkspace - SIMULATOR='platform=iOS Simulator,name=<< parameters.ios_simulator >>' - if [ -z "$CIRCLE_PR_NUMBER" ]; then - xcodebuild test -scheme "$SCHEME" -workspace "$WORKSPACE" -destination "$SIMULATOR" - else - xcodebuild test -scheme "$SCHEME" -workspace "$WORKSPACE" -destination "$SIMULATOR" -skip-testing:"$SCHEME"UITests - fi - working_directory: ./sample/ios -workflows: - build_and_test: - jobs: - - analyze_and_test - - test_ios: - ios_simulator: iPhone 13 - requires: - - analyze_and_test