Skip to content

Improve interface of homology classes #1515

Improve interface of homology classes

Improve interface of homology classes #1515

Workflow file for this run

name: Test
on:
push: { branches: [ "master" ] }
pull_request: { branches: [ "master" ] }
concurrency:
group: test-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: "${{ matrix.on }}"
strategy:
matrix:
environment: [ sagemath-97, sagemath-98, sagemath-100, sagemath-101, sagemath-102, sagemath-103, dev]
on: [ ubuntu-24.04, macos-13 ] # we do not test macos-14 yet since we don't have osx-arm64 in our pyproject.toml
steps:
- uses: actions/checkout@v2
- uses: prefix-dev/[email protected]
with:
pixi-version: v0.28.2
environments: ${{ matrix.environment }}
- name: Run doctests
run: |
# Disable pytest in old versions of SageMath
export PYTHONPATH=test/disable-pytest:$PYTHONPATH
pixi run -e ${{ matrix.environment }} doctest-long
- name: Run pytest tests
run: pixi run -e ${{ matrix.environment }} pytest
if: ${{ matrix.environment == 'dev' }}
env:
MAKEFLAGS: -j4
SAGE_NUM_THREADS: 4