Skip to content
Merged
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
15 changes: 15 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ env:
UV_LOCKED: "1"
PYTHONUTF8: "1"
FORCE_COLOR: "1"
# HEAD often sits past a .devN prerelease tag, which setuptools-scm/hatch-vcs
# cannot version ("the <tag> can't be bumped"), so every uv build/sync would
# fail. CI builds don't need the real version, so pin one and skip git version
# resolution. Releases are versioned by publish.yml from the tag itself.
SETUPTOOLS_SCM_PRETEND_VERSION: "0.0.0"

jobs:
lint:
Expand Down Expand Up @@ -69,6 +74,16 @@ jobs:
- name: Unit + integration tests
shell: bash
run: uv run pytest -m "not docker" --cov --cov-report=xml --cov-report=term-missing --junitxml=junit.xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@e53489f4d376d79066609109e7a95a29eb3740b1 # v7.0.0
if: always()
with:
# Public repos don't need a token, maybe add later if needed
# token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml
flags: py${{ matrix.python }}
name: py${{ matrix.python }}
fail_ci_if_error: false
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: always()
with:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# git-ftp (Python)

[![test](https://github.com/git-ftp/git-ftp-py/actions/workflows/test.yml/badge.svg)](https://github.com/git-ftp/git-ftp-py/actions/workflows/test.yml)
[![codecov](https://codecov.io/gh/git-ftp/git-ftp-py/graph/badge.svg)](https://codecov.io/gh/git-ftp/git-ftp-py)
[![PyPI](https://img.shields.io/pypi/v/git-ftp.svg)](https://pypi.org/project/git-ftp/)
[![Python versions](https://img.shields.io/pypi/pyversions/git-ftp.svg)](https://pypi.org/project/git-ftp/)
[![License](https://img.shields.io/pypi/l/git-ftp.svg)](https://www.gnu.org/licenses/gpl-3.0)
Expand Down