Skip to content

WIP - port to Cython 3, and GAP 4.12 #46

WIP - port to Cython 3, and GAP 4.12

WIP - port to Cython 3, and GAP 4.12 #46

Workflow file for this run

# vim: tabstop=2 shiftwidth=2
name: "Tests"
on: ["push", "pull_request"]
jobs:
tests:
name: >
Test on ${{ matrix.platform }} with Python ${{ matrix.python-version }}
and GAP ${{ matrix.gap-version }}
defaults:
run:
shell: "bash -l {0}"
strategy:
fail-fast: false
matrix:
platform: ["ubuntu-latest", "macos-latest"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
gap-version: ["4.11.0", "4.12.2", "4.13.0"]
runs-on: "${{ matrix.platform }}"
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
env:
# Increase this value to reset cache manually
CACHE_NUMBER: 0
with:
path: ~/conda_pkgs_dir
key: "${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ matrix.python-version }}-${{ matrix.gap-version }}"
- uses: "conda-incubator/setup-miniconda@v2"
with:
auto-update-conda: true
python-version: "${{ matrix.python-version }}"
use-only-tar-bz2: true
- name: "Conda info"
run: "conda info"
- name: "Conda install dependencies"
run: "conda install -q -c conda-forge gap-defaults=${{ matrix.gap-version }}"
- name: "Install gappy"
run: "pip install -e .[tests]"
- name: "Run tests"
run: "pytest -v --color=yes"