Skip to content

Commit

Permalink
added validation for PR
Browse files Browse the repository at this point in the history
  • Loading branch information
petretiandrea committed Jan 17, 2022
1 parent 569548a commit 149516e
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/tests.yaml → .github/workflows/validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
- master
- dev
pull_request:
branches:
- main
- master
- dev

env:
DEFAULT_PYTHON: 3.9
Expand Down Expand Up @@ -36,10 +40,9 @@ jobs:
- name: Run pre-commit on all files
run: |
pre-commit run --files custom_components/* --show-diff-on-failure --color=always
hacs:
runs-on: "ubuntu-latest"
name: HACS
name: HACS Validation
steps:
- name: Check out the repository
uses: "actions/[email protected]"
Expand All @@ -49,15 +52,6 @@ jobs:
with:
category: "integration"

hassfest:
runs-on: "ubuntu-latest"
name: Hassfest
steps:
- name: Check out the repository
uses: "actions/[email protected]"

- name: Hassfest validation
uses: "home-assistant/actions/hassfest@master"
# tests:
# runs-on: "ubuntu-latest"
# name: Run tests
Expand Down

0 comments on commit 149516e

Please sign in to comment.