Skip to content

Link to a33, bump to a15 #775

Link to a33, bump to a15

Link to a33, bump to a15 #775

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Test against HA-core using pytest-homeassistant-custom-component
env:
CACHE_VERSION: 9
DEFAULT_PYTHON: "3.13"
on:
workflow_dispatch:
push:
schedule:
- cron: "0 0 * * 0"
# pull_request:
jobs:
# Prepare default python version environment
ha-core-prepare:
runs-on: ubuntu-latest
name: Setup for HA-core
steps:
- name: Check out committed code
uses: actions/[email protected]
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
id: python
uses: actions/setup-python@v5
with:
python-version: ${{ env.DEFAULT_PYTHON }}
- name: Prepare virtual env for testing
run: |
scripts/setup_test.sh
- name: Test
run: |
scripts/tests_and_coverage.sh test_and_coverage
- name: Quality
run: |
scripts/tests_and_coverage.sh linting
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master