Bump the python-packages group across 1 directory with 3 updates #25
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 & Test | |
on: | |
pull_request: | |
branches: | |
- main | |
- develop | |
push: | |
branches: | |
- main | |
- develop | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
env: | |
INFINIGEN_INSTALL_TERRAIN: False | |
INFINIGEN_INSTALL_CUSTOMGT: False | |
jobs: | |
checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Lint with ruff | |
run: | | |
pip install ruff | |
# stop the build if there are Python syntax errors or undefined names | |
ruff --output-format=github --select=E9,F63,F7,F82 . | |
# default set of ruff rules with GitHub Annotations | |
#ruff --format=github . # to be enabled in a future PR | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install infinigen & dependencies | |
run: | | |
pip install .[dev] | |
- name: Test with pytest | |
run: | | |
pytest tests -m ci |