Skip to content

Commit

Permalink
Add action: Validate with hassfest (#1067)
Browse files Browse the repository at this point in the history
* Test hassfest

* Fixes on

* Fix yaml syntax

* cd

* tmp

* change

* Use dirname

* Update

* Fix repo name

* No need for a seperate file

* Add missing steps

* Remove issues from manifest

* Update branch
  • Loading branch information
ludeeus committed Apr 16, 2020
1 parent f3264a8 commit 1de7217
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/BackendTest.yml
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Get the repository content"
uses: actions/checkout@v1
uses: actions/checkout@v2

- name: Enable version ${{ matrix.python-version }} of Python
uses: actions/setup-python@v1
Expand Down Expand Up @@ -67,4 +67,14 @@ jobs:
hass --script check_config --config .
- name: Run pytest
run: python -m pytest
run: python -m pytest

validate:
runs-on: ubuntu-latest
name: Validate
steps:
- name: Check out repository
uses: actions/checkout@v2

- name: Hassfest validation
uses: "home-assistant/actions/hassfest@master"
10 changes: 10 additions & 0 deletions .github/workflows/CronActions.yml
Expand Up @@ -24,3 +24,13 @@ jobs:
- name: Create issue sugesting a new release
run: python3 /home/runner/work/integration/integration/manage/generate_releasenotes.py --token ${{ secrets.GITHUB_TOKEN }} --release no

validate:
runs-on: ubuntu-latest
name: Validate
steps:
- name: Check out repository
uses: actions/checkout@v2

- name: Hassfest validation
uses: "home-assistant/actions/hassfest@master"
1 change: 0 additions & 1 deletion custom_components/hacs/manifest.json
Expand Up @@ -11,7 +11,6 @@
],
"documentation": "https://hacs.xyz/docs/configuration/start",
"domain": "hacs",
"issues": "https://hacs.xyz/docs/issues",
"name": "HACS (Home Assistant Community Store)",
"requirements": [
"aiofiles==0.5.0",
Expand Down

0 comments on commit 1de7217

Please sign in to comment.