maintenance-update.yml: Installs poetry in update step #176
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: quality-checks | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
workflow_call: | |
inputs: | |
ref: | |
required: false | |
type: string | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.sha }} | |
cancel-in-progress: true | |
jobs: | |
python-tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- target: lint | |
- target: mypy | |
- target: pytest | |
- target: docslinks | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ inputs.ref || github.sha }} | |
- uses: extractions/setup-just@v2 | |
- run: pipx install poetry | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.13" | |
cache: poetry | |
- run: poetry install -v | |
- run: just ${{ matrix.target }} | |
image-build-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ inputs.ref || github.sha }} | |
- uses: redhat-actions/buildah-build@v2 | |
with: | |
containerfiles: | | |
./Dockerfile | |
image: ${{ github.repository }} | |
tags: test-build-${{ github.sha }} | |
... |