Skip to content

scipy: pytest-run-parallel now available as conda package #25

scipy: pytest-run-parallel now available as conda package

scipy: pytest-run-parallel now available as conda package #25

Workflow file for this run

name: Linux SciPy
on:
push:
branches:
- main
paths:
- "scipy/**"
- ".github/workflows/*_scipy.yml"
pull_request:
branches:
- main
paths:
- "scipy/**"
- ".github/workflows/*_scipy.yml"
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
test:
# To enable this job and subsequent jobs on a fork, comment out:
if: github.repository == 'rgommers/pixi-dev-scipystack'
runs-on: ubuntu-latest
steps:
- name: Checkout pixi-dev-scipystack
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Checkout scipy repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
repository: scipy/scipy
path: ./scipy/scipy
submodules: recursive
- uses: prefix-dev/[email protected]
with:
pixi-version: v0.28.1
manifest-path: scipy/pixi.toml
#cache: true
#cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
- name: Build SciPy
working-directory: ./scipy
run: pixi run build -j2
- name: Run linalg tests (fast)
working-directory: ./scipy
run: pixi run test -s linalg