Skip to content

Merge pull request #135 from flatironinstitute/dev #558

Merge pull request #135 from flatironinstitute/dev

Merge pull request #135 from flatironinstitute/dev #558

Workflow file for this run

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