Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ jobs:
uv run coverage erase
uv run coverage run -m pytest
uv run coverage report
uv run coverage xml
- name: Upload coverage data
if: always()
uses: actions/upload-artifact@v7
Expand All @@ -66,6 +67,11 @@ jobs:
include-hidden-files: true
if-no-files-found: error
retention-days: 7
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v6
with:
files: coverage.xml
fail_ci_if_error: false

build:
name: Build & audit package
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ build/
.pytest_cache/
.tox/
.coverage
coverage.xml
htmlcov/
.mypy_cache/
.ruff_cache/
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# GCode

![Build](https://github.com/shauryagangrade/GCode/actions/workflows/ci.yml/badge.svg)
[![codecov](https://codecov.io/gh/shauryagangrade/GCode/branch/main/graph/badge.svg)](https://codecov.io/gh/shauryagangrade/GCode)
[![License: Apache 2.0](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE)
[![PyPI version](https://img.shields.io/pypi/v/gcode.svg)](https://pypi.org/project/gcode/)
[![Stars](https://img.shields.io/github/stars/shauryagangrade/GCode?style=social)](https://github.com/shauryagangrade/GCode)
Expand Down