Skip to content

Drop Python < 3.8 and replace pkg_resources with importlib #135

Drop Python < 3.8 and replace pkg_resources with importlib

Drop Python < 3.8 and replace pkg_resources with importlib #135

Workflow file for this run

name: CI
on:
- pull_request
- push
env:
COLORTERM: 'yes'
TERM: 'xterm-256color'
PYTEST_ADDOPTS: '--color=yes'
jobs:
build:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
python:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: pip install -r requirements-test.txt
- name: Run tests
run: tox
tests:
if: always()
needs: build
runs-on: ubuntu-latest
name: Test suite
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}