Merge pull request #85 from tsugumi-sys/feature/scaling-ig #131
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: CI | |
on: | |
push: | |
paths: | |
- '**.py' | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
cache: 'pip' | |
- name: Create venv and install python packages | |
run: | | |
python -m pip install --upgrade pip && pip install -r requirements-dev.txt && pip install -r requirements.txt | |
- name: Run pytest | |
run: | | |
pytest | |
- name: Run Ruff Linter | |
run: | | |
ruff check . | |
- name: Run mypy Type Checking | |
run: | | |
mypy . |