stackchain-hackathon/.gitea/workflows/ci.yml
timmy 1c87371574
Some checks are pending
CI / lint (push) Waiting to run
CI / pages-check (push) Blocked by required conditions
Release Candidate / tag (push) Waiting to run
Release Candidate / draft (push) Blocked by required conditions
ci: add CI and release workflows for hackathon repo
2026-07-08 14:45:42 +00:00

28 lines
578 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with: { python-version: "3.11" }
- run: pip install -r requirements.txt
- run: python3 -m pytest tests/ -q
pages-check:
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v4
- name: Check Pages config
run: |
echo "Pages enabled: ${{ github.event.repository.has_pages }}"