Skip to content

maintenance-update.yml: Installs poetry in update step #176

maintenance-update.yml: Installs poetry in update step

maintenance-update.yml: Installs poetry in update step #176

---
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 }}
...