Skip to content

chore(deps-dev): bump mypy from 1.3.0 to 1.5.1 #61

chore(deps-dev): bump mypy from 1.3.0 to 1.5.1

chore(deps-dev): bump mypy from 1.3.0 to 1.5.1 #61

Workflow file for this run

---
name: CI
# yamllint disable-line rule:truthy
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: "0 0 * * *"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Install dependencies
run: |
poetry install
- name: Lint
run: |
SKIP=no-commit-to-branch poetry run pre-commit run --all-files
- name: Coverage
run: |
poetry run coverage xml -i
- uses: codecov/[email protected]
with:
token: ${{secrets.CODECOV}}
file: ./coverage.xml
flags: unittests
name: codecov-umbrella
hacs:
name: HACS Action
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- name: HACS Action
uses: "hacs/action@main"
with:
category: "integration"
hass_validate:
name: Hassfest
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- name: Hassfest
uses: home-assistant/actions/hassfest@master
noop-release:
name: Semantic Release Noop
runs-on: ubuntu-latest
needs:
- build
if: github.ref != 'refs/heads/main'
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Python Semantic Release Noop
uses: python-semantic-release/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
repository_username: __token__
repository_password: ${{ secrets.PYPI_TOKEN }}
additional_options: "--noop"
release:
name: Semantic Release
runs-on: ubuntu-latest
needs:
- build
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Python Semantic Release
uses: python-semantic-release/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
repository_username: __token__
repository_password: ${{ secrets.PYPI_TOKEN }}