further work on procedural modelling workflow #748
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
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 |