Skip to content

Add missing justfile #22

Add missing justfile

Add missing justfile #22

Workflow file for this run

name: Make sure created plugins work
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint:
name: lint and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: "3.14"
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- uses: extractions/setup-just@v3
- name: Install cookiecutter
run: uv pip install --system cookiecutter
- name: Run cookiecutter
run: cookiecutter . --no-input
- name: Init git repo (required for check-manifest)
run: git config --global user.email "you@example.com" && git config --global user.name "Your Name" && git init && git add . && git commit -m 'Initial commit'
working-directory: pretalx-foobar
- name: Install pretalx and plugin
run: uv pip install --system pretalx twine check-manifest build -e ".[dev]"
working-directory: pretalx-foobar
- name: Run linters
run: just fmt-check
working-directory: pretalx-foobar
- name: Run tests
run: just test
working-directory: pretalx-foobar
- name: Run check-manifest
run: check-manifest .
working-directory: pretalx-foobar
- name: Build package
run: python -m build
working-directory: pretalx-foobar
- name: Check package
run: twine check dist/*
working-directory: pretalx-foobar