Skip to content

Fix build on Python 3.6 #11

Fix build on Python 3.6

Fix build on Python 3.6 #11

Workflow file for this run

name: Tests
on:
- push
- pull_request
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
include:
- os: ubuntu-20.04
python-version: "3.6"
steps:
- uses: actions/checkout@v3
- 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 pytest colorama
- name: Pytest
run: |
# Can't use 'pip install -e' because setuptools >=61.0 is not available for Python 3.6
PYTHONPATH="." pytest