Skip to content

Commit

Permalink
Restructure (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus authored Dec 22, 2020
1 parent 69d00a9 commit 9616377
Show file tree
Hide file tree
Showing 23 changed files with 472 additions and 353 deletions.
3 changes: 3 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
{
"name": "hacs/action",
"image": "ludeeus/container:python",
"containerEnv": {
"GITHUB_ACTION_PATH": "./"
},
"context": "..",
"extensions": [
"github.vscode-pull-request-github",
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,22 @@ on:
- main

jobs:
lint:
runs-on: ubuntu-latest
name: Lint
steps:
- name: Checkout the repository
uses: actions/checkout@v2

- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
with:
additional_files: run common checks helpers
env:
SHELLCHECK_OPTS: --exclude SC2034

integration:
needs: lint
runs-on: ubuntu-latest
name: "integration: ${{ matrix.repository }}"
strategy:
Expand All @@ -24,6 +39,7 @@ jobs:
repository: ${{ matrix.repository }}

theme:
needs: lint
runs-on: ubuntu-latest
name: "theme: ${{ matrix.repository }}"
strategy:
Expand All @@ -42,6 +58,7 @@ jobs:
repository: ${{ matrix.repository }}

plugin:
needs: lint
runs-on: ubuntu-latest
name: "plugin: ${{ matrix.repository }}"
strategy:
Expand All @@ -57,9 +74,11 @@ jobs:
uses: ./
with:
category: plugin
ignore: images
repository: ${{ matrix.repository }}

netdaemon:
needs: lint
runs-on: ubuntu-latest
name: "netdaemon: ${{ matrix.repository }}"
strategy:
Expand All @@ -79,6 +98,7 @@ jobs:
repository: ${{ matrix.repository }}

appdaemon:
needs: lint
runs-on: ubuntu-latest
name: "appdaemon: ${{ matrix.repository }}"
strategy:
Expand All @@ -97,6 +117,7 @@ jobs:
repository: ${{ matrix.repository }}

python_script:
needs: lint
runs-on: ubuntu-latest
name: "python_scripts: ${{ matrix.repository }}"
strategy:
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
result
error
data
dummy
Loading

0 comments on commit 9616377

Please sign in to comment.