Skip to content

Bump APScheduler to version 4.0.0a5 #136

Bump APScheduler to version 4.0.0a5

Bump APScheduler to version 4.0.0a5 #136

name: Test suite
on:
push:
branches: [ "master" ]
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.x
cache: pip
cache-dependency-path: pyproject.toml
- name: Install dependencies
run: |
pip install -e . ruff
- name: Lint with ruff
run: |
ruff check .
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: pyproject.toml
- name: Install dependencies
run: |
pip install -e .[camera,database,dispatcher,test]
- name: Run tests with coverage
run: |
coverage run -m pytest -v
timeout-minutes: 5
#- name: Display coverage
# run: |
# coverage report