Skip to content
Snippets Groups Projects
Commit 64362a51 authored by Christian Baumberger's avatar Christian Baumberger
Browse files

Merge branch '264-fix-long-running-profiling-and-benchmarks' into 'master'

#264 separate profiling and benchmarks in nightly builds to hopefully stay...

Closes #264

See merge request flatland/flatland!265
parents d389c138 3262f87e
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,8 @@ image: themattrix/tox ...@@ -12,7 +12,8 @@ image: themattrix/tox
stages: stages:
- tests - tests
- integration_testing - integration_testing
- benchmarks_and_profiling - profiling
- benchmarks
- deploy_docs - deploy_docs
cache: cache:
paths: paths:
...@@ -61,10 +62,10 @@ build_and_deploy_docs: ...@@ -61,10 +62,10 @@ build_and_deploy_docs:
name: ${CI_COMMIT_REF_SLUG} name: ${CI_COMMIT_REF_SLUG}
url: http://${BUCKET_NAME}.s3-website.${AWS_DEFAULT_REGION}.amazonaws.com/ url: http://${BUCKET_NAME}.s3-website.${AWS_DEFAULT_REGION}.amazonaws.com/
benchmarks_and_profiling: profiling:
dependencies: dependencies:
- tests - tests
stage: benchmarks_and_profiling stage: profiling
only: only:
variables: variables:
- $BENCHMARKS_AND_PROFILING - $BENCHMARKS_AND_PROFILING
...@@ -78,7 +79,26 @@ benchmarks_and_profiling: ...@@ -78,7 +79,26 @@ benchmarks_and_profiling:
- conda update -n root conda -y - conda update -n root conda -y
- conda install -c conda-forge tox-conda - conda install -c conda-forge tox-conda
script: script:
- xvfb-run tox -e benchmarks,profiling -v --recreate - xvfb-run tox -e profiling -v --recreate
benchmarks:
dependencies:
- tests
stage: benchmarks
only:
variables:
- $BENCHMARKS_AND_PROFILING
before_script:
- apt update
- apt install -y libgl1-mesa-glx xvfb xdg-utils libcairo2-dev libjpeg-dev libgif-dev
- wget -nv https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O /tmp/Miniconda3-latest-Linux-x86_64.sh
- bash /tmp/Miniconda3-latest-Linux-x86_64.sh -b -p /tmp/miniconda3
- export PATH=/tmp/miniconda3/bin:$PATH
- pip install tox awscli
- conda update -n root conda -y
- conda install -c conda-forge tox-conda
script:
- xvfb-run tox -e benchmarks -v --recreate
test_conda_setup: test_conda_setup:
stage: integration_testing stage: integration_testing
......
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