diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 15348eeb..17d28ab8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -28,6 +28,8 @@ jobs: sudo bash -c 'mkdir -p "/etc/discourse/" && echo "I am so secret" > "/etc/discourse/client-api-key"' pip3 install .[dev,test] make setup + env: + TIRA_CONFIG: ${{github.workspace}}/application/config/tira-application-config.yml - name: Run backend tests working-directory: ${{github.workspace}}/application/test run: pytest diff --git a/application/Dockerfile.prod b/application/Dockerfile.prod index b8ff0f86..ff43718c 100644 --- a/application/Dockerfile.prod +++ b/application/Dockerfile.prod @@ -56,6 +56,7 @@ pip3 install -q --no-cache-dir --user ../python-client .[test,deploy] chmod +x ./src/tira_app/endpoints/aha # FIXME; aha is not copied to the Production Container # Run tests +export TIRA_CONFIG="/tira/config/tira-application-config.yml" make setup cd test pytest