From 9424d1e9d29474702ee0bab7d0bd80424cd55256 Mon Sep 17 00:00:00 2001 From: connoratrug Date: Fri, 8 Nov 2024 11:18:07 +0100 Subject: [PATCH 1/3] chore: warmup py cache --- .circleci/config.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 398173d5de..de5eb2ade2 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: pip install molgenis-emx2-pyclient + - run: name: run tests and push to sonar command: | From 15dd16a10037458ba2d6d2a66e6b5fe47ef82b6f Mon Sep 17 00:00:00 2001 From: connoratrug Date: Fri, 8 Nov 2024 11:35:16 +0100 Subject: [PATCH 2/3] add numpy and use pip3 --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index de5eb2ade2..5c816c530f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -182,7 +182,7 @@ jobs: - run: name: warm up the cache - command: pip install molgenis-emx2-pyclient + command: pip3 install molgenis-emx2-pyclient numpy==1.23.4 - run: name: run tests and push to sonar From 2d8d4b104333cd5f922194f8d9629aadfa25c4ad Mon Sep 17 00:00:00 2001 From: connoratrug Date: Fri, 8 Nov 2024 11:40:34 +0100 Subject: [PATCH 3/3] warmup pip cache in azure ci --- azure-pipelines.yml | 3 +++ 1 file changed, 3 insertions(+) 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