Skip to content

fix failing tests

fix failing tests #796

Workflow file for this run

name: ci-branch-tests
on: push
concurrency:
group: ada-quick-tests-${{ github.ref }}
cancel-in-progress: true
jobs:
test-core:
name: Test ada-py-core
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
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
pytest-asyncio
pytest-benchmark
- 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
test-full:
name: Test ada-py-full
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v4
- 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
pytest-asyncio
pytest-benchmark
jupyterlab
pyparsing
ipywidgets
websockets
nodejs
pygfx
pyglfw
- name: Install latest adapy
run: |
pip install -e .
pip install pytest-playwright
- name: install playwright
run: |
playwright install
- name: Run Tests
run: pytest ./tests --ignore=./tests/fem/ --ignore=./tests/profiling/ --durations=0