Skip to content

Automatically build flatsurf installer #1471

Automatically build flatsurf installer

Automatically build flatsurf installer #1471

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, macos-14 ]
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