Skip to content

WIP emhass csv append modules and fix inverters syntax and semantics #1027

WIP emhass csv append modules and fix inverters syntax and semantics

WIP emhass csv append modules and fix inverters syntax and semantics #1027

Workflow file for this run

name: CodeCov
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
run:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
env:
OS: ${{ matrix.os }}
PYTHON: '3.11'
steps:
- uses: actions/checkout@master
- name: Install uv
uses: astral-sh/setup-uv@v5

Check failure on line 20 in .github/workflows/codecov.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/codecov.yaml

Invalid workflow file

You have an error in your yaml syntax on line 20
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version-file: ".python-version"
- name: Generate Report
run: |
uv venv
uv pip install .[test]
coverage run -m --source=emhass unittest
coverage report
coverage xml
- name: Upload coverage reports to Codecov
run: |
# Replace `linux` below with the appropriate OS
# Options are `alpine`, `linux`, `macos`, `windows`
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov -t ${CODECOV_TOKEN}