Skip to content
Snippets Groups Projects
Commit 678ba29b authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

CI: Run unit tests via gitlab CI

parent 5cb213f3
No related branches found
No related tags found
1 merge request!3BIP configuration system
#!/usr/bin/env bash
conda create \
-c https://fsl.fmrib.ox.ac.uk/fsldownloads/fslconda/public/ \
-c conda-forge \
-p ./test.env \
"python=${PYTHON_VERSION}" \
pytest \
coverage \
pytest-cov
source activate ./test.env
pip install --no-deps -e .
pytest
stages:
- test
.test: &test_template
stage: test
image: continuumio/miniconda3
tags:
- docker
except:
- tags
- merge_requests
script:
- bash ./.ci/unit_tests.sh
test:3.11:
variables:
PYTHON_VERSION : "3.11"
<<: *test_template
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