Files
daedalus/.gitea/workflows/ci.yml
T
nvaldez 792beca2c5 daedalus 0.0.0: empty template - one CLI, many small scripts, each with tests
Sanitized open-source starter: renamed to daedalus, Norse-free of
internal references, AI attribution stripped, skill merged into
AGENTS.md, CI converted to Gitea Actions. No registered scripts yet.
2026-11-11 18:55:11 +01:00

31 lines
979 B
YAML

name: CI
# Run autotest.py, the same checks as a local run.
on:
push:
branches: [main]
pull_request:
jobs:
autotest:
runs-on: ubuntu-latest
container: python:3.11
steps:
- name: Install git and shellcheck for the checks
run: apt-get update && apt-get install -y --no-install-recommends git shellcheck
- name: Check out the repository
uses: actions/checkout@v4
with:
# Full history so ci/sanity.py can diff against the target branch.
fetch-depth: 0
- name: Install dependencies
run: |
python --version
python -m pip install --upgrade pip --retries 10 --timeout 120
python -m pip install -r requirements.txt --retries 10 --timeout 120
- name: Run autotest
run: python autotest.py
env:
# Set on pull requests: the sanity diff base for changed-file checks.
SANITY_DIFF_BASE: ${{ github.event.pull_request.base.sha }}