KEH-739 - Copilot interim #56
Workflow file for this run
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: # yamllint disable-line rule:truthy | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
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 | |
run: make lint | |
- name: Cleanup residue file | |
run: make clean |