Skip to content
Snippets Groups Projects
Commit 04530471 authored by Fabian Wachsmann's avatar Fabian Wachsmann
Browse files

Update .gitlab-ci.yml file

parent 6fc88099
No related branches found
No related tags found
No related merge requests found
Pipeline #76549 canceled
...@@ -8,7 +8,7 @@ variables: ...@@ -8,7 +8,7 @@ variables:
# Define common setup steps using a YAML anchor # Define common setup steps using a YAML anchor
.common-conda-setup: &common-conda-setup .common-conda-setup: &common-conda-setup
before_script: before_script:
- conda create --name $CONDA_ENV_NAME --file spec-file.txt -y - conda env create --name $CONDA_ENV_NAME --file spec-file.yaml -y
- source activate $CONDA_ENV_NAME - source activate $CONDA_ENV_NAME
environment: environment:
...@@ -18,10 +18,10 @@ environment: ...@@ -18,10 +18,10 @@ environment:
- conda env create -f environment.yaml -y - conda env create -f environment.yaml -y
- source activate $CONDA_ENV_NAME - source activate $CONDA_ENV_NAME
- pip install -U . - pip install -U .
- conda list --explicit > spec-file.txt # Save the environment specifications - conda env export --explicit -n $CONDA_ENV_NAME spec-file.yaml # Save the environment specifications
artifacts: artifacts:
paths: paths:
- spec-file.txt # Save the environment specifications as an artifact - spec-file.yaml # Save the environment specifications as an artifact
tags: tags:
- conda - conda
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment