Skip to content

Commit

Permalink
👷 Test new env
Browse files Browse the repository at this point in the history
  • Loading branch information
je-cook committed Aug 29, 2024
1 parent 692d4ae commit 7c45230
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ runs:
uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: bluemira
environment-file: conda/environment.yml
environment-file: conda/environment${{ inputs.os != 'ubuntu-latest' && '-minimal' || '' }}.yml
miniforge-version: "latest"
use-only-tar-bz2: false
miniforge-variant: Mambaforge
Expand Down
30 changes: 30 additions & 0 deletions conda/environment-minimal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: bluemira
channels:
- conda-forge
- nodefaults

variables:
# Avoid use of .local
PYTHONNOUSERSITE: "1"

# The below settings are needed to support FreeCAD integration alongside click.
# When adding or changing an environment variable you should consider including it
# in the environment variables used in the .github/workflows/ci.yml, so as to replicate
# the user environment as closely as possible (since they don't appear to be loaded
# into the GitHub Actions shell).
# NOTE: This may produce a warning when activating the conda environment if overriding
# the machine's language
LANG: "C"
LC_ALL: "C"
PYTHONIOENCODING: "utf-8"

dependencies:
- python >=3.10,<3.12
- fenics-dolfinx=0.7.3
- freecad=0.21.2
- h5py
- mpi4py=3.1.6
- graphviz
- pip
- pip:
- -e '../[pinned]'

0 comments on commit 7c45230

Please sign in to comment.