File tree Expand file tree Collapse file tree 1 file changed +4
-21
lines changed
Expand file tree Collapse file tree 1 file changed +4
-21
lines changed Original file line number Diff line number Diff line change @@ -27,35 +27,18 @@ jobs:
2727 uses : actions/setup-python@v5
2828 with :
2929 python-version : ${{ env.DEFAULT_PYTHON }}
30- - name : Restore base HA-core Python ${{ env.DEFAULT_PYTHON }} environment
31- id : cache-hacore
32- uses : actions/cache@v4
33- env :
34- cache-name : cache-hacore
35- with :
36- path : ./
37- key : >-
38- ${{ env.CACHE_VERSION}}-${{ runner.os }}-base-hacore-${{
39- steps.python.outputs.python-version }}-${{
40- hashFiles('./custom_components/plugwise_usb/manifest.json') }}-${{
41- hashFiles('./ha-core/.git/plugwise-tracking') }}
42- restore-keys : |
43- ${{ env.CACHE_VERSION}}-${{ runner.os }}-base-hacore-${{ steps.python.outputs.python-version }}-
44- ${{ env.CACHE_VERSION}}-${{ runner.os }}-base-hacore
45- ${{ env.CACHE_VERSION}}-${{ runner.os }}
46- ${{ env.CACHE_VERSION}}
4730 - name : Create HA-core Python virtual environment
4831 run : |
4932 scripts/core-testing.sh core_prep
50- - name : Prepare HA-core Python virtual environment
33+ - name : Prepare virtual env for testing
5134 run : |
52- scripts/core-testing.sh pip_prep
35+ scripts/setup-test
5336 - name : Test
5437 run : |
55- scripts/core-testing .sh testing
38+ scripts/tests-and-coverage .sh testing
5639 - name : Quality
5740 run : |
58- scripts/core-testing .sh quality
41+ scripts/tests-and-coverage .sh linting
5942
6043 shellcheck :
6144 name : Shellcheck
You can’t perform that action at this time.
0 commit comments