diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 7a4a8de..ea1cd33 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -5,17 +5,10 @@ on: [push] jobs: build: - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] - os: [ubuntu-latest] - include: - - python-version: "3.7" - os: ubuntu-20.04 - exclude: - - python-version: "3.7" - os: ubuntu-latest + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v4 @@ -32,7 +25,7 @@ jobs: - name: Lint with ruff run: | # stop the build if there are Python syntax errors or undefined names - ruff check --output-format=github --select=E9,F63,F7,F82 --target-version=py37 . + ruff check --output-format=github --select=E9,F63,F7,F82 --target-version=py38 . - name: Test with pytest run: | pytest --cov=photo_importer --cov-report=term-missing --cov-fail-under=85