Skip to content

Drop official support for Python 3.7 as it is EOL #26

Drop official support for Python 3.7 as it is EOL

Drop official support for Python 3.7 as it is EOL #26

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, macos-12, windows-2022]
python-version: [3.8, 3.11, pypy-2.7, pypy-3.8]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 mock pytest pytest-cov
- name: Run tests
run: pytest tests --cov=git_edit_index --cov-report=term --cov-report=html:coverage/html
- name: Run linting checks
run: flake8 --ignore=E501 git-edit-index tests/test_git_edit_index.py setup.py
- name: Report coveralls status
if: matrix.os == 'ubuntu-22.04' && matrix.python-version == '3.11'
uses: AndreMiras/coveralls-python-action@develop