Skip to content

Test

Test #100

Workflow file for this run

name: Test
on:
push: { branches: [ "main" ] }
pull_request: { branches: [ "main" ] }
schedule:
- cron: '23 5 1-7 * 3'
concurrency:
group: test-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python: ["3.9", "3.10", "3.11", "3.12"]
os: ["ubuntu-latest", "macos-latest"]
steps:
- name: checkout
uses: actions/checkout@v3
with: { submodules: recursive }
- name: setup conda environment
uses: conda-incubator/setup-miniconda@v2
with:
python-version: "${{ matrix.python }}"
miniforge-variant: Mambaforge
- name: install dependencies
shell: bash -l {0}
run: |
mamba env update --quiet -n test -f environment.yml
conda list
- name: install package
shell: bash -l {0}
run: |
pip install --no-dependencies .
- name: doctest
shell: bash -l {0}
run: |
sage -t darmonpoints