Skip to content

Commit

Permalink
[#27] In a Github workflow, run unit tests against a HA container
Browse files Browse the repository at this point in the history
  • Loading branch information
Stéphane Senart committed Jan 12, 2025
1 parent fbb11f1 commit 0f695af
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -71,6 +70,7 @@ jobs:
# Lint
lint:
name: Lint
needs: collect
runs-on: ubuntu-latest
if: ${{ !github.event.inputs.skip-lint }}
steps:
Expand All @@ -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:
Expand Down

0 comments on commit 0f695af

Please # to comment.