Skip to content

Migrate to meson build system with PPL 1.2 #161

Migrate to meson build system with PPL 1.2

Migrate to meson build system with PPL 1.2 #161

Workflow file for this run

name: Test
on:
push: { branches: [ "master" ] }
pull_request: { branches: [ "master" ] }
concurrency:
group: test-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v6
- uses: conda-incubator/setup-miniconda@v3
with:
environment-file: environment.test.yml
activate-environment: pplpy-test
- name: Lint
run: |
cython-lint --ignore=E265,E266,E501,E741 --exclude='ppl_decl.pxd' ppl/
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python: ["3.12", "3.13", "3.14"]
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v6
- uses: conda-incubator/setup-miniconda@v3
with:
python-version: ${{ matrix.python }}
environment-file: environment.yml
activate-environment: pplpy-build
- name: Build and install
run: pip install --no-build-isolation .
- name: Test
run: python tests/runtests.py