Skip to content

Commit

Permalink
Exchange azure devops with github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
eifinger committed Oct 21, 2019
1 parent 81c7779 commit 8f00e35
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 51 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
args: yamllint .
remarklint:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- name: Getting your configuration from GitHub
uses: actions/checkout@v1
Expand All @@ -31,8 +31,7 @@ jobs:
strategy:
matrix:
python: ['3.6', '3.7']
hass: ['0.98.5', 'latest']
name: Python ${{ matrix.python }} - Hass ${{ matrix.hass }}
name: Python ${{ matrix.python }}
steps:
- name: Getting configuration from GitHub
uses: actions/checkout@master
Expand All @@ -43,10 +42,6 @@ jobs:
architecture: x64
- name: Create secrets.yaml
run: mv travis_secrets.yaml secrets.yaml
- name: Home Assistant Check Latest
uses: "docker://homeassistant/home-assistant:latest"
with:
args: python -m homeassistant --config . --script check_config --info all
- name: Home Assistant Check Installed
uses: "docker://homeassistant/home-assistant:0.98.5"
with:
Expand Down
48 changes: 48 additions & 0 deletions .github/workflows/homeassistant-latest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
name: Home Assistant CI

# yamllint disable-line rule:truthy
on:
push:
pull_request:

jobs:
yamllint:
runs-on: ubuntu-latest
steps:
- name: Getting your configuration from GitHub
uses: actions/checkout@v1
- name: Running YAMLlint
uses: "docker://pipelinecomponents/yamllint:latest"
with:
args: yamllint .
remarklint:
runs-on: ubuntu-latest
steps:
- name: Getting your configuration from GitHub
uses: actions/checkout@v1
- name: Running Remark lint
uses: "docker://pipelinecomponents/remark-lint:latest"
continue-on-error: true
with:
args: "remark --no-stdout --color --frail --use preset-lint-recommended ."
home_assistant_ci:
runs-on: ubuntu-latest
strategy:
matrix:
python: ['3.6', '3.7']
name: Python ${{ matrix.python }}
steps:
- name: Getting configuration from GitHub
uses: actions/checkout@master
- name: Setup python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python }}
architecture: x64
- name: Create secrets.yaml
run: mv travis_secrets.yaml secrets.yaml
- name: Home Assistant Check Latest
uses: "docker://homeassistant/home-assistant:latest"
with:
args: python -m homeassistant --config . --script check_config --info all
44 changes: 0 additions & 44 deletions azure-pipelines.yml

This file was deleted.

0 comments on commit 8f00e35

Please sign in to comment.