33 lines
688 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

name: Test
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
# opencv-python libGL ister; edge testleri onsuz atlanırdı
- run: sudo apt-get update && sudo apt-get install -y libgl1
- run: pip install -e ".[dev,edge]"
# -rs: atlanan testler gerekçesiyle özette görünsün
- run: pytest -q -rs