Skip to content

Change libxml2 to libxml2-devel in environment.yaml #94

Change libxml2 to libxml2-devel in environment.yaml

Change libxml2 to libxml2-devel in environment.yaml #94

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
env:
ACTIONS_STEP_DEBUG: true
with:
environment-file: conda/environment.yaml
environment-name: uw-2.17
init-shell:
powershell
# persist only for runs on this commit.
#cache-environment-key: environment-${{ github.sha }}
#cache-downloads-key: downloads-${{ github.sha }}
#cache-environment: true
#cache-downloads: true
- name: lala
run: |
micromamba activate uw-2.17
micromamba env list
micromamba list -v
env
LIBXML2_LIBRARY=$CONDA_PREFIX/lib/libxml2.so LIBXML2_INCLUDE_DIR=$CONDA_PREFIX/include/libxml2 pip install . --no-build-isolation
#pytest ./docs/pytests/tests.py ./docs/pytests/test_examples.py
shell: pwsh
#shell: micromamba-shell {0}
# name: Compile the code, run tests