fix: use minimal CI with only pytest
Some checks failed
CI / test (push) Failing after 14s

This commit is contained in:
2026-02-04 20:30:17 +00:00
parent f8e0dfc9e3
commit fb85ebe28a

View File

@@ -1,27 +1,20 @@
name: CI name: CI
on: on: [push, pull_request]
push:
branches: [main]
pull_request:
branches: [main]
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- run: | - name: Checkout
git clone --depth 1 https://github.com/${{ gitea.repository }}.git . uses: actions/checkout@v3
git fetch origin 'refs/heads/main':refs/heads/main - name: Setup Python
uses: actions/setup-python@v4
- name: Set up Python with:
python-version: '3.10'
- name: Install
run: | run: |
apt-get update && apt-get install -y python3 python3-pip pip install -e .
pip install pytest
- name: Install dependencies - name: Test
run: | run: pytest confsync/tests/ -v
pip3 install -e .
pip3 install pytest pytest-cov
- name: Run tests
run: pytest confsync/tests/ -v --tb=short