slack removal (#793) #694
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
name: Lint test | |
on: | |
workflow_dispatch: | |
pull_request: | |
paths: | |
- 'ci/kubetest/**' | |
- .github/workflows/test-lint-flake8.yaml | |
push: | |
branches: | |
- main | |
jobs: | |
kubetest: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Python dependencies | |
run: | | |
python -m pip install -r ci/kubetest/requirements.txt | |
- name: Check formatting | |
run: | | |
black --check ci/kubetest | |
isort --check-only ci/kubetest | |
- name: Lint with flake8 | |
run: | | |
flake8 --config ci/kubetest/.flake8 ci/kubetest |