diff --git a/.circleci/config.yml b/.circleci/config.yml index 2686057727..8c4eabfc7d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -180,6 +180,10 @@ jobs: name: prepare sql test database command: psql -h 127.0.0.1 -p 5432 -U postgres < .docker/initdb.sql + - run: + name: warm up the cache + command: pip3 install molgenis-emx2-pyclient numpy==1.23.4 + - run: name: run tests and push to sonar command: | diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 76dd61019f..d34897c57f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -27,6 +27,9 @@ steps: - script: | sudo apt-get update && sudo apt-get install postgresql-client python3 python3-venv -y displayName: postgresql client python3 +- script: | + sudo pip3 install molgenis-emx2-pyclient numpy==1.23.4 + displayName: warmup pip cache - script: | psql -h localhost -p 5432 -U postgres < .docker/initdb.sql displayName: initialize database