build(deps-dev): bump pytest-homeassistant-custom-component #754
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
pull_request: | |
env: | |
DEFAULT_PYTHON: "3.12" | |
jobs: | |
tests: | |
runs-on: "ubuntu-latest" | |
name: Run tests | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ env.DEFAULT_PYTHON }} | |
- uses: snok/install-poetry@main | |
- name: Install Dependencies | |
run: poetry install | |
shell: bash | |
- name: Test with Pytest | |
run: poetry run pytest --cov-report=xml | |
shell: bash | |
# yamllint disable | |
# - name: Upload coverage to Codecov | |
# uses: codecov/codecov-action@v3 | |
# with: | |
# token: ${{ secrets.CODECOV_TOKEN }} | |
# yamllint enable |