Files
searxng-use-cli/.gitea/workflows/ci.yml
T
Metona Team c3e8cdf6cb
CI / test (3.10) (push) Failing after 47s
CI / test (3.11) (push) Failing after 7s
CI / test (3.12) (push) Failing after 7s
CI / test (3.8) (push) Failing after 8s
CI / test (3.9) (push) Failing after 8s
ci: use debian-latest runner label
2026-08-01 17:04:08 +08:00

40 lines
943 B
YAML

name: CI
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
test:
runs-on: debian-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest requests beautifulsoup4
# tomli backport for Python 3.8-3.10 (tomllib is stdlib in 3.11+)
pip install tomli || true
- name: Run tests
run: python -m pytest -q
- name: Verify scripts run
run: |
python scripts/search.py --version
python scripts/fetch.py --version