Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Codecov orb #161

Merged
merged 1 commit into from
Jul 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
version: 2.1

orbs:
codecov: codecov/codecov@3

executors:
macos-executor:
parameters:
Expand Down Expand Up @@ -59,8 +62,10 @@ commands:
name: Run iOS tests
command: bundle exec fastlane ios ci
- run:
name: Upload coverage report
command: bash <(curl -s https://codecov.io/bash) -J '<< parameters.scheme >>'
name: Generate coverage report
command: bundle exec slather coverage -x --output-directory output --arch x86_64 --scheme << parameters.scheme >>-iOS << parameters.scheme >>.xcodeproj
- codecov/upload:
file: output/cobertura.xml
- run:
name: Run pod lib lint
command: bundle exec fastlane ios pod_lint
Expand Down Expand Up @@ -126,8 +131,8 @@ workflows:
build:
jobs:
- build-and-test:
scheme: "SimpleKeychain"
scheme: SimpleKeychain
matrix:
parameters:
platform: ["ios", "macos", "tvos"]
platform: [ios, macos, tvos]
xcode: ["13.0.0"]
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ source 'https://rubygems.org'

gem 'fastlane'
gem 'cocoapods'
gem 'slather'

plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')
eval_gemfile(plugins_path) if File.exist?(plugins_path)
13 changes: 13 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ GEM
aws-eventstream (~> 1, >= 1.0.2)
babosa (1.0.4)
claide (1.1.0)
clamp (1.3.2)
cocoapods (1.11.3)
addressable (~> 2.8)
claide (>= 1.0.2, < 2.0)
Expand Down Expand Up @@ -211,6 +212,7 @@ GEM
memoist (0.16.2)
mini_magick (4.11.0)
mini_mime (1.1.2)
mini_portile2 (2.8.0)
minitest (5.16.1)
molinillo (0.8.0)
multi_json (1.15.0)
Expand All @@ -219,10 +221,14 @@ GEM
nap (1.1.0)
naturally (2.2.1)
netrc (0.11.0)
nokogiri (1.13.6)
mini_portile2 (~> 2.8.0)
racc (~> 1.4)
optparse (0.1.1)
os (1.1.4)
plist (3.6.0)
public_suffix (4.0.7)
racc (1.6.0)
rake (13.0.6)
representable (3.2.0)
declarative (< 0.1.0)
Expand All @@ -244,6 +250,12 @@ GEM
simctl (1.6.8)
CFPropertyList
naturally
slather (2.7.2)
CFPropertyList (>= 2.2, < 4)
activesupport
clamp (~> 1.3)
nokogiri (~> 1.12)
xcodeproj (~> 1.21)
terminal-notifier (2.0.0)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
Expand Down Expand Up @@ -283,6 +295,7 @@ DEPENDENCIES
cocoapods
fastlane
fastlane-plugin-auth0_shipper
slather

BUNDLED WITH
2.2.28