From 449496ad946630c9de892c4a697cdf1972feb16e Mon Sep 17 00:00:00 2001 From: giumas Date: Sun, 20 Oct 2024 12:16:43 +0200 Subject: [PATCH] moved the continue-on-error: true to the job metadata --- .github/workflows/abc2_on_linux.yml | 3 +-- .github/workflows/abc2_on_windows.yml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/abc2_on_linux.yml b/.github/workflows/abc2_on_linux.yml index 3efe387..6cca81d 100644 --- a/.github/workflows/abc2_on_linux.yml +++ b/.github/workflows/abc2_on_linux.yml @@ -5,6 +5,7 @@ on: [push] jobs: build: runs-on: ubuntu-latest + continue-on-error: true strategy: max-parallel: 5 @@ -33,7 +34,6 @@ jobs: flake8 ./hyo2/abc2 --count --select=E9,F63,F7,F82 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide flake8 ./hyo2/abc2 --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - continue-on-error: true - name: Test with pytest run: | pip install coveralls PyYAML pytest pytest-cov @@ -41,4 +41,3 @@ jobs: coverage report -m # disabled linux reports to avoid mixing with windows ones # coveralls - continue-on-error: false diff --git a/.github/workflows/abc2_on_windows.yml b/.github/workflows/abc2_on_windows.yml index 1363365..3a1629a 100644 --- a/.github/workflows/abc2_on_windows.yml +++ b/.github/workflows/abc2_on_windows.yml @@ -5,6 +5,7 @@ on: [push] jobs: build: runs-on: windows-latest + continue-on-error: true strategy: max-parallel: 5 @@ -33,11 +34,9 @@ jobs: flake8 .\hyo2\abc2 --count --select=E9,F63,F7,F82 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide flake8 .\hyo2\abc2 --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - continue-on-error: true - name: Test with pytest run: | pip install coveralls PyYAML pytest pytest-cov py.test --cov coverage report -m coveralls - continue-on-error: false