Files
confsync/.gitea/workflows/ci.yml
7000pctAUTO f8e0dfc9e3
Some checks failed
CI / test (push) Failing after 1s
fix: simplify CI workflow for Gitea Actions
2026-02-04 20:29:32 +00:00

28 lines
594 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- run: |
git clone --depth 1 https://github.com/${{ gitea.repository }}.git .
git fetch origin 'refs/heads/main':refs/heads/main
- name: Set up Python
run: |
apt-get update && apt-get install -y python3 python3-pip
- name: Install dependencies
run: |
pip3 install -e .
pip3 install pytest pytest-cov
- name: Run tests
run: pytest confsync/tests/ -v --tb=short