KEH-1227: Rewrite Docs #187
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: # yamllint disable-line rule:truthy | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: read-all | |
| concurrency: | |
| group: "${{ github.head_ref || github.ref }}-${{ github.workflow }}" | |
| cancel-in-progress: true | |
| jobs: | |
| lint-test: | |
| name: Lint and Test | |
| runs-on: ubuntu-22.04 | |
| strategy: | |
| matrix: | |
| python-version: ["3.12"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Poetry | |
| run: pipx install poetry==1.7.1 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: poetry | |
| - name: Display Python version | |
| run: python -c "import sys; print(sys.version)" | |
| - name: Install dependencies | |
| run: make install-dev | |
| - name: Lint Python and Markdown (check only) | |
| run: make lint-check | |
| - name: Run tests | |
| run: make test | |
| - name: Cleanup residue files | |
| run: make clean |