Skip to content

feat: update websocket handling, frontend updates, more bspline support #63

feat: update websocket handling, frontend updates, more bspline support

feat: update websocket handling, frontend updates, more bspline support #63

Workflow file for this run

name: Pull Request Tests
on:
pull_request:
branches:
- main
# Use concurrency to ensure that only one instance of this workflow is running at a time
concurrency:
group: pr-tests-${{ github.ref_name }}
cancel-in-progress: true
# installs mamba-org/setup-micromamba@v1 on all 3 platforms using matrix and runs pytest:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
- uses: prefix-dev/[email protected] # https://github.com/prefix-dev/setup-pixi
with:
pixi-version: v0.28.2
cache: true
environments: lint
- run: pixi run lint
test:
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -l {0}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-13]
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
- uses: mamba-org/setup-micromamba@v1 # https://github.com/mamba-org/setup-micromamba
with:
cache-environment: false
condarc: |
channels:
- conda-forge
environment-file: conda/environment.core.yml
create-args: >-
python=3.12
pytest
- name: Install latest adapy
run: |
pip install -e .
- name: Runs Tests
run: pytest ./tests --ignore=./tests/fem/ --ignore=./tests/full/ --ignore=./tests/profiling/ --durations=0