CHANGELOG: add per-commit CI workflow entry #167
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 | |
| jobs: | |
| ci: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.13"] | |
| poetry-version: ["2.3.1"] | |
| os: [ubuntu-latest, macos-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install GNU sed on macOS | |
| if: runner.os == 'macOS' | |
| run: brew install gnu-sed | |
| - name: Install poetry | |
| run: pip install poetry==${{ matrix.poetry-version}} | |
| - name: Install deps | |
| run: make install | |
| - name: Run tests | |
| run: make test | |
| - name: Check formatting | |
| run: make check-format | |
| - name: Run linter | |
| run: make lint | |
| - name: Security audit | |
| run: make audit | |
| ci-windows: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.13"] | |
| poetry-version: ["2.3.1"] | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install poetry | |
| run: pip install poetry==${{ matrix.poetry-version}} | |
| - name: Install deps | |
| run: make install | |
| - name: Run tests | |
| run: make test | |
| - name: Check formatting | |
| run: make check-format | |
| - name: Run linter | |
| run: make lint | |
| - name: Security audit | |
| run: make audit |