Merge pull request #135 from flatironinstitute/dev #558
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: testing | |
on: | |
push: | |
paths: | |
- 'python/**' | |
pull_request: | |
paths: | |
- 'python/**' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Linter checks | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install | |
run: cd python && pip install -e .[compute_resource] | |
- name: Install packages needed for tests | |
run: pip install pytest pytest-asyncio pytest-cov pyright boto3 kachery_cloud flake8 | |
- name: Install additional packages used by api_helpers | |
run: cd python && pip install -e .[api] | |
- name: Install additional optional packages | |
run: pip install GPUtil | |
# - name: Install packages needed by iac/aws_batch | |
# run: cd iac/aws_batch && pip install -r requirements.txt | |
- name: Run linter checks | |
run: cd python && flake8 --config ../.flake8 && pyright | |
# - name: Run linter checks for iac | |
# run: cd iac && flake8 --config ../.flake8 && pyright |