You've already forked photo-importer
mirror of
https://github.com/sashacmc/photo-importer.git
synced 2026-06-09 16:43:31 +02:00
Drop python 3.7 from CI
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user