@@ -235,21 +235,16 @@ jobs:
235235 - cache
236236 - prepare
237237 - pytest
238- # - mypy # Re-instate mypy when we are ready
238+ # - mypy
239239 steps :
240240 - name : Check out committed code
241241 uses : actions/checkout@v4
242- - name : Set up Python ${{ env.DEFAULT_PYTHON }}
243- id : python
244- uses : actions/setup-python@v5
245- with :
246- python-version : ${{ env.DEFAULT_PYTHON }}
247- - name : Create or reuse cache
242+ - name : Restore cached environment
248243 id : cache-reuse
249- uses : ./.github/ actions/restore-venv
244+ uses : plugwise/gh- actions/restore-venv@v1
250245 with :
251246 cache-key : ${{ needs.cache.outputs.cache-key }}
252- python-version : ${{ steps.python.outputs.python-version }}
247+ python-version : ${{ env.DEFAULT_PYTHON }}
253248 venv-dir : ${{ env.VENV }}
254249 precommit-home : ${{ env.PRE_COMMIT_HOME }}
255250 - name : Download all coverage artifacts
@@ -258,12 +253,7 @@ jobs:
258253 run : |
259254 . venv/bin/activate
260255 coverage combine coverage*/.coverage*
261- #coverage report --fail-under=80 ## plugwise is at 94, set to 80 for plugwise_usb
262- echo "***"
263- echo "***"
264- echo "Coverage is not up to par, skipping"
265- echo "***"
266- echo "***"
256+ #coverage report --fail-under=94
267257 coverage xml
268258 - name : Upload coverage to Codecov
269259 uses : codecov/codecov-action@v5
0 commit comments