From 3046005a5428a9374db62b67edce4e1dfc10af19 Mon Sep 17 00:00:00 2001 From: Sietse Snel Date: Thu, 5 Dec 2024 16:46:10 +0100 Subject: [PATCH] CI: install any new portal dependencies if needed Install any new portal dependencies in CI. These may be needed for running the API tests if the dependencies of the portal have changed since the Docker image was last built. --- .github/workflows/api-and-integration-tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/api-and-integration-tests.yml b/.github/workflows/api-and-integration-tests.yml index bb2433d67..e5c451c84 100644 --- a/.github/workflows/api-and-integration-tests.yml +++ b/.github/workflows/api-and-integration-tests.yml @@ -85,6 +85,7 @@ jobs: cd yoda/docker/compose docker exec portal.yoda sh -c 'set -x ; cd /var/www/yoda && git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" && git pull' docker exec portal.yoda sh -c 'set -x ; cd /var/www/yoda && git checkout ${{ steps.extract_branch.outputs.branch }} || git checkout development' + docker exec portal.yoda sh -c 'set -x ; cd /var/www/yoda && . venv/bin/activate && venv/bin/pip3 install -r requirements.txt' docker exec portal.yoda sh -c 'set -x ; cd /var/www/yoda && git status' docker exec portal.yoda sh -c 'set -x ; touch /var/www/yoda/*.wsgi'