From b5f2990b0d72638e5a02c82a3fffd00ee6a2a691 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 e69d7b878..c239edcf5 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'