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
on:
push:
branches: [main]
pull_request:
branches: [main]
on: [push, pull_request]
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
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install
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
pip install -e .
pip install pytest
- name: Test
run: pytest confsync/tests/ -v