Skip to content

Commit

Permalink
fix README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nhesusrz committed Sep 12, 2024
1 parent df2b9fc commit af8b34c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 45 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,14 @@ jobs:
- name: Run tests
run: poetry run pytest --cov=your_module --cov-report xml:coverage.xml --cov-report term

- name: Generate coverage badge
run: poetry run coverage-badge -o coverage.svg

- name: Upload coverage report
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: coverage.xml

- name: Upload coverage badge
uses: actions/upload-artifact@v4
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
name: coverage-badge
path: coverage.svg
file: coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# AM CRM Service API

![Unit Tests Status](https://github.com/nhesusrz/am_crm_service/actions/workflows/pytest.yml/badge.svg) ![Test Coverage](coverage.svg) ![Pre-commit Hooks Status](https://github.com/nhesusrz/am_crm_service/actions/workflows/pre-commit%20hooks.yml/badge.svg)
![Unit Tests Status](https://github.com/nhesusrz/am_crm_service/actions/workflows/pytest.yml/badge.svg) ![Test Coverage](![Codecov](https://codecov.io/gh/nhesusrz/am_crm_service/branch/main/graph/badge.svg)
) ![Pre-commit Hooks Status](https://github.com/nhesusrz/am_crm_service/actions/workflows/pre-commit%20hooks.yml/badge.svg)

# Development Overview

Expand Down
37 changes: 1 addition & 36 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ aiosqlite = "^0.20.0"
pytz = "^2024.1"
pre-commit = "^3.8.0"
pydantic-core = "2.20.1"
coverage-badge = "^1.1.2"


[tool.poetry.group.dev.dependencies]
Expand Down

0 comments on commit af8b34c

Please sign in to comment.