Skip to content

Commit

Permalink
Codecov is back! (#687)
Browse files Browse the repository at this point in the history
* Add badge codecov badge back in.
  • Loading branch information
jill-cardamon committed Nov 10, 2022
1 parent a39f13c commit 9991ef0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ commands:
steps:
- run:
name: Publish Code Coverage
command: bash <(curl -s https://codecov.io/bash)
command: |
curl -Os https://uploader.codecov.io/latest/macos/codecov
chmod +x codecov
./codecov
carthage-bootstrap:
steps:
- run:
Expand All @@ -56,7 +59,7 @@ commands:
echo "export GITHUB_TOKEN='${GITHUB_TOKEN}'" >> $BASH_ENV
git remote set-url origin "https://x-access-token:${GITHUB_TOKEN}@github.com/mapbox/mapbox-directions-swift.git"
git config user.email "[email protected]"
git config user.name "Mapbox Releases"
git config user.name "Mapbox Releases"
jobs:
detect-breaking-changes:
Expand Down Expand Up @@ -172,7 +175,7 @@ jobs:
default: true
codecoverage:
type: boolean
default: false
default: true
macos:
xcode: << parameters.xcode >>
environment:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
[![CocoaPods](https://img.shields.io/cocoapods/v/MapboxDirections.svg)](https://cocoapods.org/pods/MapboxDirections/)
[![SPM compatible](https://img.shields.io/badge/SPM-compatible-4BC51D.svg?style=flat)](https://swift.org/package-manager/)
[![codecov](https://codecov.io/gh/mapbox/mapbox-directions-swift/branch/main/graph/badge.svg?token=bjr4ASuXuO)](https://codecov.io/gh/mapbox/mapbox-directions-swift)

Mapbox Directions for Swift (formerly MapboxDirections.swift) makes it easy to connect your iOS, macOS, tvOS, watchOS, or Linux application to the [Mapbox Directions](https://docs.mapbox.com/api/navigation/) and [Map Matching](https://docs.mapbox.com/api/navigation/#map-matching) APIs. Quickly get driving, cycling, or walking directions, whether the trip is nonstop or it has multiple stopping points, all using a simple interface reminiscent of MapKit’s `MKDirections` API. Fit a GPX trace to the [OpenStreetMap](https://www.openstreetmap.org/) road network. The Mapbox Directions and Map Matching APIs are powered by the [OSRM](http://project-osrm.org/) and [Valhalla](https://github.com/valhalla/valhalla/) routing engines. For more information, see the [Mapbox Navigation](https://www.mapbox.com/navigation/) homepage.

Expand Down
7 changes: 7 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,10 @@ coverage:
project:
default:
threshold: 1%

comment:
layout: "reach, diff, flags, files"
behavior: default
require_changes: false
require_base: no
require_head: yes

0 comments on commit 9991ef0

Please sign in to comment.