summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2023-08-18 12:05:49 +0200
committertoonn <toonn@toonn.io>2023-08-18 13:36:18 +0200
commit63950a0c018ad041ea7f6e6592898197a31df426 (patch)
treedde139a51d3b6990c6b1826000a297795430c3a1
parent27caaf21ea45ce7eaf9087d2f4854c5248ffdf74 (diff)
GHActions: Fix step ID in indexing operations
-rw-r--r--.github/workflows/pr.yml29
1 files changed, 14 insertions, 15 deletions
diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml
index a6f9eb2d..642cf558 100644
--- a/.github/workflows/pr.yml
+++ b/.github/workflows/pr.yml
@@ -32,41 +32,40 @@ jobs:
config:
- added|modified: 'ranger/config/**.py'
- name: Lint changed code with Flake8 and Pylint
- if: steps.path-filter.outputs.code == 'true'
- && steps.path-filter.outputs.this-workflow == 'false'
+ if: steps.paths-filter.outputs.code == 'true'
+ && steps.paths-filter.outputs.this-workflow == 'false'
run: |
flake8 ${{ steps.paths-filter.outputs.code_files }}
pylint ${{ steps.paths-filter.outputs.code_files }}
- name: Lint all code with Flake8 and Pylint
- if: steps.path-filter.outputs.this-workflow == 'true'
+ if: steps.paths-filter.outputs.this-workflow == 'true'
run: |
make TEST_PATHS_CONFIG= test_flake8
- make TEST_PATHS_CONFIG= test_pylint
+ make TEST_PATHS_CONFIG=--version test_pylint
- name: Lint changed config with Flake8 and Pylint
- if: steps.path-filter.outputs.config == 'true'
- && steps.path-filter.outputs.this-workflow == 'false'
+ if: steps.paths-filter.outputs.config == 'true'
+ && steps.paths-filter.outputs.this-workflow == 'false'
run: |
flake8 ${{ steps.paths-filter.outputs.config }}
pylint --rcfile=ranger/config/.pylintrc \
${{ steps.paths-filter.outputs.config_files }}
- name: Lint all config with Flake8 and Pylint
- if: steps.path-filter.outputs.config == 'true'
- && steps.path-filter.outputs.this-workflow == 'false'
+ if: steps.paths-filter.outputs.this-workflow == 'true'
run: |
make TEST_PATHS_MAIN= test_flake8
- make TEST_PATHS_MAIN= test_pylint
+ make TEST_PATHS_MAIN=--version test_pylint
- name: Run doctest
- if: steps.path-filter.outputs.code == 'true'
- || steps.path-filter.outputs.this-workflow == 'true'
+ if: steps.paths-filter.outputs.code == 'true'
+ || steps.paths-filter.outputs.this-workflow == 'true'
run: |
make test_doctest
- name: Test code with Pytest
- if: steps.path-filter.outputs.code == 'true'
- || steps.path-filter.outputs.this-workflow == 'true'
+ if: steps.paths-filter.outputs.code == 'true'
+ || steps.paths-filter.outputs.this-workflow == 'true'
run: |
make test_pytest
- name: Check man page completeness
- if: steps.path-filter.outputs.code == 'true'
- || steps.path-filter.outputs.this-workflow == 'true'
+ if: steps.paths-filter.outputs.code == 'true'
+ || steps.paths-filter.outputs.this-workflow == 'true'
run: |
make test_other