forked from hacs/integration
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge beta into master for 0.14 release (hacs#550)
* Set version * Trigger build * Add issues.md * Add link at the bottom * Add appdaemon example * Make links clickable * Adds isssue note * Handle persistent_directory * Add check if self.repository_manifest exist * Handle content_in_root for all categories * Remove device_info property (hacs#548) * New devcontainer * Add release_limit for version selector * Fix multiloading of HACS * Add default note * Fix LGTM warnings * Add badges * Set 0.98 as minimum version * Version bump
- Loading branch information
Showing
41 changed files
with
542 additions
and
436 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
name: Linting | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- data | ||
push: | ||
branches: | ||
- data | ||
|
||
jobs: | ||
jq: | ||
name: Lint JSON with JQ | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Lint datafiles | ||
run: | | ||
for datafile in repositories/*; do | ||
jq --raw-output "." "${datafile}" | ||
done | ||
name: Linting | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- data | ||
push: | ||
branches: | ||
- data | ||
|
||
jobs: | ||
jq: | ||
name: Lint JSON with JQ | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Lint datafiles | ||
run: | | ||
for datafile in repositories/*; do | ||
jq --raw-output "." "${datafile}" | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,55 @@ | ||
name: Test with Home Assistant | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
test: | ||
name: Testing with (Python, HA) | ||
runs-on: ubuntu-latest | ||
strategy: | ||
max-parallel: 6 | ||
matrix: | ||
python-version: [3.6, 3.7] | ||
ha-version: ["stable", "beta", "dev"] | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip setuptools wheel | ||
for file in $(find custom_components/ -name "manifest.json"); do | ||
cat "$file" | for req in $(jq .requirements[]); | ||
do pip install $(echo "$req" | jq -r .); | ||
done; | ||
done | ||
- name: Install Home Assistant ${{ matrix.ha-version }} | ||
run: | | ||
if [ ${{ matrix.ha-version }} == "dev" ]; then | ||
pip install git+git://github.com/home-assistant/home-assistant.git@dev | ||
elif [ ${{ matrix.ha-version }} == "beta" ]; then | ||
pip install --pre homeassistant | ||
else | ||
pip install homeassistant | ||
fi | ||
- name: 'Inject HACS into Home Assistant configuration' | ||
run: | | ||
echo "default_config:" | tee -a configuration.yaml | ||
echo "hacs:" | tee -a configuration.yaml | ||
echo " token: xxx" | tee -a configuration.yaml | ||
- name: Home Assistant configuration check | ||
run: hass --script check_config --config . | ||
name: Test with Home Assistant | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
test: | ||
name: Testing with (Python, HA) | ||
runs-on: ubuntu-latest | ||
strategy: | ||
max-parallel: 6 | ||
matrix: | ||
python-version: [3.6, 3.7] | ||
ha-version: ["stable", "beta", "dev"] | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip setuptools wheel | ||
for file in $(find custom_components/ -name "manifest.json"); do | ||
cat "$file" | for req in $(jq .requirements[]); | ||
do pip install $(echo "$req" | jq -r .); | ||
done; | ||
done | ||
- name: Install Home Assistant ${{ matrix.ha-version }} | ||
run: | | ||
if [ ${{ matrix.ha-version }} == "dev" ]; then | ||
pip install git+git://github.com/home-assistant/home-assistant.git@dev | ||
elif [ ${{ matrix.ha-version }} == "beta" ]; then | ||
pip install --pre homeassistant | ||
else | ||
pip install homeassistant | ||
fi | ||
- name: 'Inject HACS into Home Assistant configuration' | ||
run: | | ||
echo "default_config:" | tee -a configuration.yaml | ||
echo "hacs:" | tee -a configuration.yaml | ||
echo " token: xxx" | tee -a configuration.yaml | ||
- name: Home Assistant configuration check | ||
run: hass --script check_config --config . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.