Skip to content

Commit

Permalink
Upload both test and type coverage in one go
Browse files Browse the repository at this point in the history
  • Loading branch information
pelmered committed Oct 1, 2024
1 parent 413d223 commit f2ac0b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,7 @@ jobs:
- name: Execute type coverage tests
run: vendor/bin/pest --type-coverage --type-coverage-json=build/logs/pest-coverage.json

- name: Upload Test Coverage
env:
OTTERWISE_TOKEN: ${{ secrets.OTTERWISE_TOKEN }}
run: bash <(curl -s https://raw.githubusercontent.com/getOtterWise/bash-uploader/main/uploader.sh)

- name: Upload Types Coverage
- name: Upload Coverage
env:
OTTERWISE_TOKEN: ${{ secrets.OTTERWISE_TOKEN }}
run: bash <(curl -s https://raw.githubusercontent.com/getOtterWise/bash-uploader/main/uploader.sh) --type-coverage-file build/logs/pest-coverage.json
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Faker provider for fake car data
[![Build Status](https://scrutinizer-ci.com/g/pelmered/fake-car/badges/build.png?b=main)](https://scrutinizer-ci.com/g/pelmered/fake-car/build-status/main)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/pelmered/fake-car/badges/quality-score.png?b=main)](https://scrutinizer-ci.com/g/pelmered/fake-car/?branch=master)
[![OtterWise Coverage](https://img.shields.io/endpoint?url=https://otterwise.app/badge/github/pelmered/fake-car)](https://otterwise.app/github/pelmered/fake-car)
[![OtterWise Coverage](https://img.shields.io/endpoint?url=https://otterwise.app/badge/github/pelmered/fake-car/type)](https://otterwise.app/github/pelmered/fake-car)
[![OtterWise Type Coverage](https://img.shields.io/endpoint?url=https://otterwise.app/badge/github/pelmered/fake-car/type)](https://otterwise.app/github/pelmered/fake-car)

## Installation

Expand Down

0 comments on commit f2ac0b8

Please sign in to comment.