Skip to content

Commit

Permalink
Use Codecov orb (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
Widcket committed Jul 6, 2022
1 parent 235af9c commit 88fda7b
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 4 deletions.
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

0 comments on commit 88fda7b

Please sign in to comment.