Tests: Requirements: Scheduled weekly dependency update for week 18 #1993
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: Lint | |
on: | |
pull_request: # Trigger on PRs to develop and v4 | |
branches: | |
- develop | |
- v4 | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
fetch-depth: 0 | |
- name: Get out of detached head state | |
run: | | |
git fetch origin ${{ github.base_ref }} | |
git fetch origin ${{ github.ref }} | |
git checkout FETCH_HEAD -- | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: pip install --upgrade ruff setuptools toml wheel yapf==0.32.0 | |
- name: Test that yapf has been applied | |
# If this check fails for your PR, run `yapf -rip .` | |
run: yapf --recursive --parallel --diff . | |
- name: Run Lint | |
run: ruff --output-format=github . | |
- name: Test Packaging | |
run: | | |
python setup.py sdist bdist_wheel | |
pip install -v . |