Make rez wheels production ready #797
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/**' | |
jobs: | |
lint: | |
name: Run Linter | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.7 | |
- 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 |