Skip to content

WIP Codim coupling #2069

WIP Codim coupling

WIP Codim coupling #2069

Workflow file for this run

name: Conda CI
on: [pull_request, push]
jobs:
run-tests:
name: run-tests (fenics-dolfinx v${{ matrix.dolfinx }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
dolfinx: ['0.10.0', '0.11.0']
steps:
- name: Checkout code
uses: actions/checkout@v7
- uses: pyvista/setup-headless-display-action@v4
- name: Set up Conda
uses: conda-incubator/setup-miniconda@v4
with:
activate-environment: myenv
miniforge-version: latest
# use-mamba: true
channels: conda-forge
- name: Create Conda environment
shell: bash -l {0}
run: |
conda install -c conda-forge python pip fenics-dolfinx=${{ matrix.dolfinx }} scifem io4dolfinx pyvista nanobind
- name: Install local package and dependencies
shell: bash -l {0}
run: |
python3 -m pip install scikit-build-core
python3 -m pip install .[test] --no-build-isolation
- name: Run tests
shell: bash -l {0}
run: |
pytest test/ --cov festim --cov-report xml --cov-report term
- name: Upload to codecov
uses: codecov/codecov-action@v7
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml