From 4b396446b0b955f9629e438f21f0aa4b69c34124 Mon Sep 17 00:00:00 2001 From: Klaas van Schelven Date: Sat, 26 Apr 2025 10:43:35 +0200 Subject: [PATCH] Fix github workflows to include sentry_sdk_extensions in tests it's the other non-Django-app with tests that we have now --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 19ebc2a..9edb823 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -99,8 +99,8 @@ jobs: PYTHONWARNINGS: all run: | # because we're outside the project directory, the test discovery won't find our packages. We simply enumerate - # them using some shell-magic. Note that the only non-app that we still care about is 'bugsink' (project, not app) - # which we mention separately - bugsink-manage test `bugsink-manage shell -c 'from django.conf import settings; print(" ".join(settings.BUGSINK_APPS))'` bugsink -v2 + # them using some shell-magic. Note that the only non-apps that we still care about are 'bugsink' (project, not + # app), and sentry_sdk_extensions, which we mention separately + bugsink-manage test `bugsink-manage shell -c 'from django.conf import settings; print(" ".join(settings.BUGSINK_APPS))'` bugsink sentry_sdk_extensions -v2 # bugsink-manage test ${GITHUB_WORKSPACE} -v2 # fails with the following, which I don't understand: # ImportError: 'tests' module incorrectly imported from '/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/alerts'. Expected '/home/runner/work/bugsink-private/bugsink-private/alerts'. Is this module globally installed?