From 5e1d4a07c869c1383559d6d4fda97110ca1e765a Mon Sep 17 00:00:00 2001 From: Hallvard Lavik Date: Mon, 5 Feb 2024 11:28:59 +0100 Subject: [PATCH] GitHub Actions testing. --- .github/workflows/pipeline.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 460f2d3..c8da8a2 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -17,14 +17,14 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install pylint flake8 numpy torch + pip install pylint flake8 # Run Pylint and Flake8 simultaneously using background tasks and redirect output to files. - name: Run Pylint and Flake8 run: | python_files=$(git ls-files '*.py') if [[ -n "$python_files" ]]; then - echo "$python_files" | xargs pylint > pylint.out & + echo "$python_files" | xargs pylint --disable=E0401 > pylint.out & flake8 --max-line-length=100 --max-complexity=10 $python_files > flake8.out & wait fi