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
5 changes: 0 additions & 5 deletions .codecov.yml

This file was deleted.

16 changes: 9 additions & 7 deletions .github/workflows/poupool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ on:
branches: [ "master" ]

permissions:
contents: read
contents: write
pull-requests: write

jobs:
build:
Expand All @@ -33,12 +34,13 @@ jobs:
uv run pre-commit run -a
- name: Test with pytest
run: |
uv run pytest --cov=controller --cov-report term test/
uv run pytest --cov=controller --cov-report term --junitxml=pytest.xml --cov-report=term-missing:skip-covered test/ | tee pytest-coverage.txt
- name: Test start the application
run: |
uv run python poupool.py --fake-devices --test-start
- name: Upload coverage report
run: |
uv run codecov
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Pytest coverage comment
id: coverage
uses: MishaKav/pytest-coverage-comment@main
with:
pytest-coverage-path: ./pytest-coverage.txt
junitxml-path: ./pytest.xml
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Poupool - The swimming pool controller

[![Build Status](https://travis-ci.com/lostcontrol/poupool.svg?branch=master)](https://travis-ci.com/lostcontrol/poupool)
[![codecov](https://codecov.io/gh/lostcontrol/poupool/branch/master/graph/badge.svg)](https://codecov.io/gh/lostcontrol/poupool)

Poupool is a swimming pool control software.

Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ dependencies = [
dev = [
"pre-commit==4.6.0",
"ruff==0.15.22",
"codecov==2.1.13",
"pytest==9.1.1",
"pytest-cov==7.1.0",
"pytest-mock==3.15.1",
Expand Down
Loading
Loading