From 0f695afb6f9ce41221ecfa10692206a44e8e92e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Senart?= <> Date: Sun, 12 Jan 2025 23:08:47 +0100 Subject: [PATCH] [#27] In a Github workflow, run unit tests against a HA container --- .github/workflows/ci.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 49332ee..3530264 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -27,13 +27,12 @@ permissions: env: DEFAULT_PYTHON_VERSION: "3.12" - #TARGET_PYTHON_VERSIONS: "[ '3.9', '3.10', '3.11', '3.12', '3.13' ]" - TARGET_PYTHON_VERSIONS: "[ '3.12' ]" + TARGET_PYTHON_VERSIONS: "[ '3.9', '3.10', '3.11', '3.12', '3.13' ]" jobs: #---------------------------------------------- # Collect information - information: + collect: name: Collect outputs: package-version: ${{ steps.compute-version.outputs.pep440-version }} @@ -71,6 +70,7 @@ jobs: # Lint lint: name: Lint + needs: collect runs-on: ubuntu-latest if: ${{ !github.event.inputs.skip-lint }} steps: @@ -90,7 +90,7 @@ jobs: # Test test: name: Test - needs: information + needs: [collect, lint] runs-on: "ubuntu-latest" if: ${{ !github.event.inputs.skip-tests }} strategy: