Merge pull request #460 from delphix/dlpx/pr/rasantel/b46e023c-a6d9-4… #45
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |