diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index de207b0..d4c0e2f 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -28,9 +28,11 @@ jobs: with: submodules: true - name: Build - run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild build-for-testing -scheme ChromaSwift | xcpretty + run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild build-for-testing -scheme ChromaSwift -enableCodeCoverage YES | xcpretty - name: Test - run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild test-without-building -scheme ChromaSwift | xcpretty + run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild test-without-building -scheme ChromaSwift -enableCodeCoverage YES | xcpretty + - name: Codecov upload + uses: codecov/codecov-action@v1 ios: name: iOS diff --git a/README.md b/README.md index e811807..939a775 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ [![Swift](https://img.shields.io/badge/Swift-5-orange)](https://swift.org/) [![SPM](https://img.shields.io/badge/SPM-compatible-success)](https://swift.org/package-manager/) [![Unit Tests](https://github.com/wallisch/ChromaSwift/actions/workflows/unit_tests.yml/badge.svg)](https://github.com/wallisch/ChromaSwift/actions/workflows/unit_tests.yml) +[![codecov](https://codecov.io/gh/wallisch/ChromaSwift/branch/master/graph/badge.svg?token=Y9IMV4347N)](https://codecov.io/gh/wallisch/ChromaSwift) Swift wrapper for [Chromaprint](https://github.com/acoustid/chromaprint), the audio fingerprint library of the [AcoustID](https://acoustid.org/) project