Skip to content

fix setuptools

fix setuptools #59

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest, ubuntu-20.04]
python-version: ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
exclude:
- python-version: "3.6"
os: ubuntu-latest
include:
- openpyxl-version: "3.1.2"
- python-version: "2.7"
openpyxl-version: "2.6.4"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest openpyxl==${{ matrix.openpyxl-version }}
pip install -r requirements.txt
- name: Run pytest
run: pytest