Skip to content

analyses: support beniget 0.5.0 #199

analyses: support beniget 0.5.0

analyses: support beniget 0.5.0 #199

Workflow file for this run

name: CI-windows
on:
- push
- pull_request
jobs:
tests:
runs-on: windows-2022
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v4
- uses: prefix-dev/[email protected]
with:
pixi-version: v0.47.0
cache: false
- name: Setup
run: |
pixi run install-editable
- name: Minimal Pythran check
run: |
# todo: patch to be removed when Pythran >0.18.0 will be used
# see https://github.com/serge-sans-paille/pythran/issues/2360
mv .github/dist.py .pixi/envs/default/Lib/site-packages/pythran
pixi run python -c "from pythran import dist as m; print(m.MODIFIED); assert m.MODIFIED"
pixi run pythran .github/minimal_pythran.py -vv
- name: Tests
run: |
pixi run pytest tests
pixi run mpirun -np 2 pytest tests
echo "TRANSONIC_BACKEND=python" >> $GITHUB_ENV
pixi run pytest tests
echo "TRANSONIC_BACKEND=numba" >> $GITHUB_ENV
pixi run pytest tests