From 55daa97e75ecd9c6c62682cba78b6ff04ea92814 Mon Sep 17 00:00:00 2001 From: Severiano Badajoz Date: Wed, 1 Apr 2020 15:12:20 -0700 Subject: [PATCH] add lint for PRs and lint for master --- .github/workflows/push_tests.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/push_tests.yml b/.github/workflows/push_tests.yml index f205e067..bdc27fda 100644 --- a/.github/workflows/push_tests.yml +++ b/.github/workflows/push_tests.yml @@ -25,9 +25,18 @@ jobs: - name: Lint with flake8 run: | pip install flake8 + make lint - name: Lint diff with eslint + branches-ignore: + - master run: | - cd client && make lint-diff + cd client && make lint-diff-client + - name: Lint with eslint + branches: + - master + run: | + make lint-client + unit-test: runs-on: ubuntu-latest