mirror of
https://github.com/zhigang1992/PerspectiveTransform.git
synced 2026-04-30 05:05:17 +08:00
add check dependencies job
This commit is contained in:
@@ -28,6 +28,16 @@ commands:
|
|||||||
paths:
|
paths:
|
||||||
- Example/Pods
|
- Example/Pods
|
||||||
jobs:
|
jobs:
|
||||||
|
check-dependecies-update:
|
||||||
|
description: Check if any dependecies have been updated
|
||||||
|
executor: latest-xcode
|
||||||
|
shell: /bin/bash --login -o pipefail
|
||||||
|
steps:
|
||||||
|
- pod-install
|
||||||
|
- run: bundle exec pod update --project-directory=Example
|
||||||
|
- run: bundle update
|
||||||
|
- run: git diff --exit-code # Outdated Cocoapods dependencies found, please run 'pod update' and checkin changes
|
||||||
|
- run: bundle exec pod lib lint || bundle exec pod lib lint --verbose --no-clean
|
||||||
macos-tests:
|
macos-tests:
|
||||||
description: Run tests on Mac OS
|
description: Run tests on Mac OS
|
||||||
executor: latest-xcode
|
executor: latest-xcode
|
||||||
@@ -65,13 +75,22 @@ jobs:
|
|||||||
path: build/reports
|
path: build/reports
|
||||||
destination: xcodebuild-test-results
|
destination: xcodebuild-test-results
|
||||||
workflows:
|
workflows:
|
||||||
build:
|
monthly:
|
||||||
|
jobs: [check-dependecies-update]
|
||||||
|
triggers:
|
||||||
|
- schedule:
|
||||||
|
cron: "0 0 1 * *"
|
||||||
|
filters:
|
||||||
|
branches:
|
||||||
|
only: circleci
|
||||||
|
onpush:
|
||||||
jobs:
|
jobs:
|
||||||
|
- check-dependecies-update
|
||||||
- macos-tests
|
- macos-tests
|
||||||
- ios-tests:
|
# - ios-tests:
|
||||||
destination: platform=iOS Simulator,name=iPhone X
|
# destination: platform=iOS Simulator,name=iPhone X
|
||||||
post-steps:
|
# post-steps:
|
||||||
- run: bash <(curl -s 'https://codecov.io/bash') -Z -J '^PerspectiveTransform$' -X gcov -X fix
|
# - run: bash <(curl -s 'https://codecov.io/bash') -Z -J '^PerspectiveTransform$' -X gcov -X fix
|
||||||
# - ios-tests:
|
# - ios-tests:
|
||||||
# destination: platform=iOS Simulator,name=iPhone XS
|
# destination: platform=iOS Simulator,name=iPhone XS
|
||||||
# - ios-tests:
|
# - ios-tests:
|
||||||
|
|||||||
Reference in New Issue
Block a user