From d58d831ebe878011f5427d6683b86da455aed54e Mon Sep 17 00:00:00 2001 From: A_D Date: Tue, 5 Jan 2021 17:20:21 +0200 Subject: [PATCH] Replace python checks with jq in workflow Also makes sure that pushes to main ARE checked --- .github/workflows/push-checks.yml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/.github/workflows/push-checks.yml b/.github/workflows/push-checks.yml index ba8367c7..b6ad01a5 100644 --- a/.github/workflows/push-checks.yml +++ b/.github/workflows/push-checks.yml @@ -9,7 +9,7 @@ name: Push-Checks on: push: - branches: [ develop ] + branches: [ main ] jobs: build: @@ -27,27 +27,15 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install flake8 pytest + pip install flake8 pytest wheel if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi - name: Lint with flake8 env: ROOT_SHA: ${{github.base_ref}} run: | - DATA=$(python3 <