feat: add integration test on CI #55
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: Test code style on PR | |
on: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
pre-commit: | |
name: 'pre commit' | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [ '3.10', '3.11' ] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- uses: pre-commit/[email protected] | |
ruff: | |
name: 'ruff check' | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [ '3.10', '3.11' ] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- run: pip install ruff==0.3.7 | |
- run: ruff check |