Skip to content

Add Python 3.12

Add Python 3.12 #36

Workflow file for this run

name: Tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
matrix:
python: [3.8, 3.9, "3.10", 3.11, 3.12]
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.X
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install the package itself
run: |
pip install --upgrade pip
pip install .
pip install pytest pytest-cov coveralls pytest-xdist pytest-timeout
- name: Test with pytest
run: |
pytest --cov-report term --cov=colormap
- name: coveralls
run: |
coveralls --service=github
env:
GITHUB_TOKEN: ${{ github.token }}