stackchain-dashboard/.gitea/workflows/ci.yml
timmy 9558e9ad64
Some checks are pending
CI / lint (push) Waiting to run
CI / build-frontend (push) Blocked by required conditions
Release / tag-release (push) Waiting to run
Release / draft-rc (push) Blocked by required conditions
ci: add automated CI/release workflows
2026-07-08 14:24:16 +00:00

30 lines
662 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
build-frontend:
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v4
- name: Pack frontend
run: tar -czf frontend.tar.gz frontend
- name: Upload artifact
uses: actions/upload-artifact@v4
with: { name: frontend, path: frontend.tar.gz }