https://github.com/deeprave/actions
Reusable github actions for python development
https://github.com/deeprave/actions
Last synced: 4 months ago
JSON representation
Reusable github actions for python development
- Host: GitHub
- URL: https://github.com/deeprave/actions
- Owner: deeprave
- License: mit
- Created: 2025-01-02T22:09:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-29T11:12:13.000Z (12 months ago)
- Last Synced: 2025-06-29T12:23:22.652Z (12 months ago)
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Python test, build and publish
## Overview
This repository contains a convenient set of actions useful for developing
and publishing Python packages using:
- pytest
- pytest-cov
- ruff
- uv
## Motivation
These actions were created when I found myself repeating the same patterns.
## Actions available
The following actions are available and can be used individually in your GitHub workflows:
- `deeprave/actions/test@main`: Run tests using pytest
- `deeprave/actions/test-build@main`: Run tests and build the package
- `deeprave/actions/test-build-publish@main`: Run tests, build and publish the package
- `deeprave/actions/test-build-publish-with-cov@main`: Run tests with coverage, build and publish the package
- `deeprave/actions/test-build-with-cov@main`: Run tests with coverage and build the package
- `deeprave/actions/test-with-cov@main`: Run tests with coverage reporting
## Usage
To use these actions in your GitHub workflow, add them to your workflow YAML file:
```yaml
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: deeprave/actions/test@main
with:
python-version: '3.13'
```
See each action's YAML file for available input parameters.