Skip to content

Merge branch 'v2.17.x' of github.com:underworldcode/underworld2 into … #107

Merge branch 'v2.17.x' of github.com:underworldcode/underworld2 into …

Merge branch 'v2.17.x' of github.com:underworldcode/underworld2 into … #107

name: Conda Test Environment, with micromamba
on:
push:
branches:
- main
- development
- v2.*
pull_request:
branches:
- '**'
workflow_dispatch:
jobs:
test:
runs-on: [ubuntu-latest] #, macos-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Micromamba
uses: mamba-org/setup-micromamba@v2
with:
environment-file: conda/environment.yaml
environment-name: uw-2.17
generate-run-shell: true
cache-environment: true
#cache-downloads: false
- name: compile and pytests
run: |
micromamba env list
micromamba list -v
env
pip install . --no-build-isolation
pytest ./docs/pytests/tests.py ./docs/pytests/test_examples.py
shell: micromamba-shell {0}
# name: Compile the code, run tests