Skip to content

Makefile -> Justfile #158

Makefile -> Justfile

Makefile -> Justfile #158

Workflow file for this run

---
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-24.04 # TODO back to -latest when it's 24.04
strategy:
matrix:
include:
- target: lint
- target: mypy
- target: pytest
- target: doclinks
steps:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.ref || github.sha }}
- run: pipx install poetry
- uses: actions/setup-python@v5
with:
python-version: "3.12"
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 }}
...