adaptive-lighting/.github/workflows/install_dependencies/action.yml
Workflow config file is invalid. Please check your config file: Line: 3 Column 1: Unknown Property inputs Line: 13 Column 1: Unknown Property runs Forgejo Actions YAML Schema validation error
Benjamin Auquite 9bec45b63c Squashed commit of the following:
commit 1edaf1d7ed
Merge: 0e7e06e a888afd
Author: Benjamin Auquite <halomastar@gmail.com>
Date:   Mon Apr 10 12:57:30 2023 -0500

    Merge branch 'main' into unconventional_sunrise_sunset_times

commit 0e7e06e8a4
Merge: 8fa554a fe7bdd3
Author: Benjamin Auquite <halomastar@gmail.com>
Date:   Sat Apr 8 20:23:20 2023 -0500

    Merge branch 'main' into unconventional_sunrise_sunset_times

commit 8fa554a4e7
Merge: ec64eda 39e9d0e
Author: Benjamin Auquite <halomastar@gmail.com>
Date:   Sat Apr 8 00:50:16 2023 -0500

    merge

commit ec64eda6bf
Merge: 8353db5 744e43f
Author: Benjamin Auquite <halomastar@gmail.com>
Date:   Tue Apr 4 21:08:54 2023 -0500

    Merge branch 'main' into unconventional_sunrise_sunset_times

commit 8353db54cc
Author: Benjamin Auquite <halomastar@gmail.com>
Date:   Tue Apr 4 00:56:24 2023 -0500

    tests are unfinished

commit 6cb24116c0
Author: Benjamin Auquite <halomastar@gmail.com>
Date:   Mon Apr 3 21:17:01 2023 -0500

    Update switch.py
2023-04-11 19:12:20 -05:00

43 lines
1.5 KiB
YAML

name: 'Install Dependencies'
description: 'Install Home Assistant and test dependencies'
inputs:
python-version:
description: 'Python version'
required: true
default: '3.10'
core-version:
description: 'Home Assistant core version'
required: false
default: 'dev'
runs:
using: "composite"
steps:
- name: Check out code from GitHub
uses: actions/checkout@v3
with:
repository: ${{ github.repository }}
ref: ${{ github.ref }}
persist-credentials: false
fetch-depth: 0
- name: Check out code from GitHub
uses: actions/checkout@v3
with:
repository: home-assistant/core
path: core
ref: ${{ inputs.core-version }}
- name: Set up Python ${{ inputs.python-version }}
id: python
uses: actions/setup-python@v4.1.0
with:
python-version: ${{ inputs.python-version }}
- name: Install dependencies
shell: bash
run: |
echo "::warning::### WARNING! Deprecation warnings muted with option '--use-pep517' please address this at some point in '\workflows\install_dependencies\action.yml'. ###"
pip install -r core/requirements.txt --use-pep517
pip install -r core/requirements_test.txt --use-pep517
pip install -e core/ --use-pep517
pip install ulid-transform # this is in Adaptive-lighting's manifest.json
pip install $(python test_dependencies.py) --use-pep517
pip install jaraco --use-pep517