bump version #157
This file contains hidden or 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: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python 3.10 | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.10" | |
| - name: Install dependencies | |
| run: | | |
| pip install --upgrade pip | |
| pip install poetry | |
| poetry install -v | |
| - name: Run isort | |
| run: poetry run isort --profile=black --check-only . | |
| - name: Run black | |
| run: poetry run black --check . | |
| - name: Check formatting | |
| run: | | |
| poetry run ruff check . | |
| - name: Run tests | |
| run: | | |
| poetry run pytest -sv cmonge |