QA gen with accelerate #189
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: PR Test | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- "dalm/**" | |
- "tests/**" | |
jobs: | |
check_backend_changes: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version-file: ".python-version" | |
cache: pip | |
cache-dependency-path: "**/pyproject.toml" | |
- name: install invoke | |
run: pip install invoke | |
- name: install dependencies | |
run: inv install --no-editable | |
- name: Run inv lint | |
run: inv lint | |
- name: Run tests | |
run: inv test |