PowerShell alias calling non-existent command returns 0 exit code failing test #1384
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: flake8 | |
on: | |
pull_request: | |
paths: | |
- 'src/rez/**.py' | |
- 'src/rezplugins/**.py' | |
- '.github/workflows/flake8.yaml' | |
- '!src/rez/utils/_version.py' | |
- '!src/rez/data/**' | |
- '!src/rez/vendor/**' | |
- '!src/rez/backport/**' | |
push: | |
paths: | |
- 'src/rez/**.py' | |
- 'src/rezplugins/**.py' | |
- '.github/workflows/flake8.yaml' | |
- '!src/rez/utils/_version.py' | |
- '!src/rez/data/**' | |
- '!src/rez/vendor/**' | |
- '!src/rez/backport/**' | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
name: Run Linter | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- name: Set up Python | |
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 | |
with: | |
python-version: 3.11 | |
- name: Install Dependencies | |
run: | | |
pip install flake8 | |
- name: Run flake8 | |
run: >- | |
find -name '*.py' | |
-not -path './rez/vendor/*' | |
-not -path './rez/data/*' | |
-not -path './rez/backport/*' | |
-not -path './build_utils/*' | |
-not -path './support/*' | |
-not -path './rezgui/*' | |
| xargs flake8 | |
working-directory: src |