Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 24800133 authored by LEGRAND Jonathan's avatar LEGRAND Jonathan
Browse files

Update CI job.

Job 'coverage' now use install from sources.
Job 'anaconda' require both 'conda_build' and 'coverage' to run.
parent ea9d62b6
No related branches found
No related tags found
No related merge requests found
Pipeline #941205 failed
......@@ -40,23 +40,20 @@ coverage:
- conda config --set solver libmamba
# Create 'bvpy' conda environment & activate it:
- conda env create -f conda/env_20240207.yaml -y
- source activate bvpy
# Install built `bvpy` package (from artifacts):
- conda install conda-bld/linux-64/bvpy-*py37*
- conda list
- conda activate bvpy
# Install `bvpy` from sources:
- python -m pip install -e .
# Test it with `pytest`:
- pytest --version
- pytest -v --cov=bvpy test/
retry:
max: 2
when: runner_system_failure
dependencies:
- conda_build
only:
- develop
- master
anaconda_master :
anaconda :
stage: deploy
tags:
- linux
......@@ -72,27 +69,9 @@ anaconda_master :
when: runner_system_failure
dependencies:
- conda_build
- coverage
only:
- master
anaconda_develop :
stage: deploy
tags:
- linux
- medium
script:
- conda convert -p osx-64 conda-bld/linux-64/bvpy-* --output-dir conda-bld/
- conda convert -p osx-arm64 conda-bld/linux-64/bvpy-* --output-dir conda-bld/
- anaconda --token=$ANACONDA_TOKEN upload conda-bld/linux-64/bvpy-* --force --user mosaic
- anaconda --token=$ANACONDA_TOKEN upload conda-bld/osx-64/bvpy-* --force --user mosaic
- anaconda --token=$ANACONDA_TOKEN upload conda-bld/osx-arm64/bvpy-* --force --user mosaic
retry:
max: 2
when: runner_system_failure
when: manual
dependencies:
- conda_build
only:
- develop
pages:
......@@ -109,7 +88,7 @@ pages:
- conda config --set solver libmamba
# Create 'bvpy' conda environment & activate it:
- conda env create -f conda/env_20240207.yaml -y
- source activate bvpy
- conda activate bvpy
# Install `bvpy` package (from sources):
- python -m pip install -e .
# Build the documentation:
......
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