xyz improvements #3693
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-push | |
on: | |
- push | |
- pull_request | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
flags: | |
- --debug --test --uv | |
- --debug --test | |
steps: | |
- name: checkout-code | |
uses: actions/checkout@main | |
- name: setup-python | |
uses: actions/setup-python@main | |
with: | |
python-version: 3.10.6 | |
cache: pip | |
cache-dependency-path: requirements.txt | |
- name: install-pylint | |
run: | | |
python -m pip install --upgrade pip | |
pip install pylint | |
- name: pre-commit | |
uses: pre-commit-ci/[email protected] | |
if: always() | |
with: | |
msg: apply code formatting and linting auto-fixes | |
- name: test-startup | |
run: | | |
export COMMANDLINE_ARGS="${{ matrix.flags }}" | |
python launch.py |