Workflow dev doc #287
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: Dev CI | |
on: | |
pull_request: | |
branches: [ main, scripts ] | |
push: | |
branches: [ main, scripts ] | |
jobs: | |
lint-and-test: | |
name: Run lint and test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11.4" | |
- name: install dev dependencies | |
run: | | |
pip install -r requirements-dev.txt | |
- name: run check | |
run: | | |
ruff check . | |
ruff format . --check |