Add reference checks and native Repairs for Hass-Cleaner 1.1.0 #43
Workflow file for this run
This file contains hidden or 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: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: hass_cleaner | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.13" | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: "22" | |
| - run: pip install -r ../requirements-test.txt | |
| - run: python -m unittest discover -s tests -v | |
| - run: node --check web/assets/app.js | |
| - run: node --check web/assets/i18n.js | |
| - run: node web/tests/i18n.test.cjs | |
| - run: node web/tests/references.test.cjs | |
| - run: python ../tools/package_companion.py | |
| - run: python -m compileall -q hass_cleaner tests | |
| - run: python -m compileall -q ../custom_components/hass_cleaner |