bouquin/.forgejo/workflows/ci.yml
Miguel Jacq 3510438242
Some checks failed
CI / test (push) Failing after 30s
CI / test (pull_request) Failing after 30s
tweaks
2025-11-13 14:05:31 +11:00

38 lines
785 B
YAML

name: CI
on:
push:
pull_request:
jobs:
test:
runs-on: docker
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install system dependencies
run: |
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
python3-venv pipx
- name: Install Poetry
run: |
pipx install poetry==1.8.3
/root/.local/bin/poetry --version
- name: Install project deps (including test extras)
env:
PATH: "$PATH:/root/.local/bin"
run: |
poetry install --with test
- name: Run test script
env:
PATH: "$PATH:/root/.local/bin"
run: |
chmod +x ./tests.sh
./tests.sh