diff --git a/.github/workflows/erlang.yml b/.github/workflows/erlang.yml index 0c1d924..d020754 100644 --- a/.github/workflows/erlang.yml +++ b/.github/workflows/erlang.yml @@ -38,3 +38,8 @@ jobs: run: rebar3 format --verify - name: Run tests and verifications run: rebar3 test + - name: Upload code coverage + uses: codecov/codecov-action@v4 + with: + file: "_build/test/covertool/worker_pool.covertool.xml" + verbose: true diff --git a/README.md b/README.md index acbcb8d..1945183 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Worker Pool [![Build Status](https://github.com/inaka/worker_pool/actions/workflows/erlang.yml/badge.svg)](https://github.com/inaka/worker_pool/actions/workflows/erlang.yml) +# Worker Pool [![Build Status](https://github.com/inaka/worker_pool/actions/workflows/erlang.yml/badge.svg)](https://github.com/inaka/worker_pool/actions/workflows/erlang.yml)[![codecov](https://codecov.io/github/inaka/worker_pool/graph/badge.svg?token=qNtgagGp1H)](https://codecov.io/github/inaka/worker_pool)