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
21 changes: 12 additions & 9 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,33 @@ jobs:

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.14
- uses: actions/checkout@v4
- name: Set up Python 3.13
uses: actions/setup-python@v4
with:
python-version: 3.14
python-version: 3.13
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install coverage setuptools pytest pytest-asyncio
pip install coverage pytest pytest-asyncio
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run Coverage
run: |
export PYTHONPATH=./src
coverage run -m pytest tests
- name: Generate Coverage Report
run: |
coverage report
coverage report -m
coverage xml
- name: Creating coverage folder
run: |
mkdir -p coverage
- name: Coverage Badge
uses: tj-actions/coverage-badge-py@v2
with:
output: coverage/coverage.svg
pip install -U genbadge defusedxml
genbadge coverage -i coverage.xml -o coverage/coverage.svg
# - name: Coverage Badge
# uses: tj-actions/coverage-badge-py@v2
# with:
# output: coverage/coverage.svg
- name: Publish coverage report to coverage-badge branch
uses: JamesIves/github-pages-deploy-action@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "textual-thin-slider"
version = "1.0.0"
version = "1.0.1"
requires-python = ">= 3.8"
license = "MIT"
description = "A thin slider control widget for the Textual UI platform"
Expand Down
Loading