name: CI on: push: branches: [main] pull_request: jobs: check: runs-on: ubuntu-latest strategy: matrix: python-version: ["3.10", "3.12"] services: postgres: image: postgres:16-alpine env: POSTGRES_PASSWORD: postgres POSTGRES_DB: abobot_test ports: ["5432:5432"] options: >- --health-cmd "pg_isready -U postgres" --health-interval 5s --health-retries 10 env: TEST_DATABASE_URL: postgresql://postgres:postgres@localhost:5432/abobot_test steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - run: sudo apt-get update -qq && sudo apt-get install -y -qq libenchant-2-2 hunspell-en-us - run: pip install -r requirements-dev.txt - run: ruff check --select E9,F,B code tests scripts - run: pytest -q