Skip to content

Commit c442323

Browse files
committed
chore: Added Coveralls Badge
1 parent c0ad846 commit c442323

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/build_and_test.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,7 @@ jobs:
6060
run: mix check
6161

6262
- name: Upload Coverage Report
63-
run: mix coveralls.post --token ${{ secrets.COVERALLS_REPO_TOKEN }}
63+
env:
64+
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
65+
run: mix coveralls.github
6466

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# LeXtract
22

3-
[![Hex](https://img.shields.io/hexpm/v/lextract?style=flat-square)](https://hex.pm/packages/lextract)
3+
[![Hex](https://img.shields.io/hexpm/v/lextract?style=flat-square)](https://hex.pm/packages/lextract) [![Coverage Status](https://coveralls.io/repos/github/YgorCastor/lextract/badge.svg?branch=master)](https://coveralls.io/github/YgorCastor/lextract?branch=master)
44

55
LLM-powered text extraction library for Elixir. Based on Google's [LangExtract](https://github.com/google/langextract)
66

mix.exs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ defmodule LeXtract.MixProject do
7171
preferred_envs: [
7272
coveralls: :test,
7373
"coveralls.post": :test,
74+
"coveralls.github": :test,
7475
"coveralls.html": :test,
7576
"test.integration": :test
7677
]

0 commit comments

Comments
 (0)