mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-07 22:48:12 +08:00
add lint for PRs and lint for master
This commit is contained in:
@@ -25,9 +25,18 @@ jobs:
|
|||||||
- name: Lint with flake8
|
- name: Lint with flake8
|
||||||
run: |
|
run: |
|
||||||
pip install flake8
|
pip install flake8
|
||||||
|
make lint
|
||||||
- name: Lint diff with eslint
|
- name: Lint diff with eslint
|
||||||
|
branches-ignore:
|
||||||
|
- master
|
||||||
run: |
|
run: |
|
||||||
cd client && make lint-diff
|
cd client && make lint-diff-client
|
||||||
|
- name: Lint with eslint
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
run: |
|
||||||
|
make lint-client
|
||||||
|
|
||||||
|
|
||||||
unit-test:
|
unit-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user