-
Notifications
You must be signed in to change notification settings - Fork 44
47 lines (46 loc) · 1.41 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
on: [push, pull_request]
jobs:
check-packages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: docker build -t delphix-platform:latest docker
- run: ./scripts/docker-run.sh make packages
check-shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: delphix/actions/shellcheck@master
check-shfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: delphix/actions/shfmt@master
check-pylint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
with:
python-version: '3.8'
- run: python3 -m pip install pylint
- run: python3 -m pip install netifaces
- run: pylint -d invalid-name,E0611 files/common/usr/bin/delphix-startup-screen
check-yapf:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
with:
python-version: '3.8'
- run: python3 -m pip install yapf
- run: yapf --diff --style google files/common/usr/bin/delphix-startup-screen
check-mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
with:
python-version: '3.8'
- run: python3 -m pip install mypy
- run: mypy --ignore-missing-imports files/common/usr/bin/delphix-startup-screen