Skip to content

Commit

Permalink
Add Coverage upload to GH action with badge in README
Browse files Browse the repository at this point in the history
  • Loading branch information
astares committed Sep 16, 2023
1 parent 57e9fff commit 8ac6f2d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,9 @@ jobs:
run: smalltalkci -s ${{ matrix.pharo-version }} ${{ matrix.ston }}
shell: bash
timeout-minutes: 40

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
name: ${{matrix.os}}-${{matrix.smalltalk}}
token: ${{ secrets.CODECOV_TOKEN }}
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ A Pharo driver for [MongoDB](https://www.mongodb.com/).

[![CI](https://github.com/pharo-nosql/mongotalk/actions/workflows/tests.yml/badge.svg)](https://github.com/pharo-nosql/mongotalk/actions/workflows/tests.yml)

[![Coverage Status](https://codecov.io/github/pharo-nosql/mongotalk/coverage.svg?branch=master)](https://codecov.io/gh/pharo-nosql/mongotalk/branch/master)

[![Pharo 10](https://img.shields.io/badge/Pharo-10-%23aac9ff.svg)](https://pharo.org/download)
[![Pharo 11](https://img.shields.io/badge/Pharo-11-%23aac9ff.svg)](https://pharo.org/download)
[![Pharo 12](https://img.shields.io/badge/Pharo-12-%23aac9ff.svg)](https://pharo.org/download)

## Getting Started

We can open a connection to a mongodb server and perform a write operation as follows:
Expand Down

0 comments on commit 8ac6f2d

Please sign in to comment.