Skip to content

Commit a869d72

Browse files
authored
Merge 8db5618 into 6fca7ee
2 parents 6fca7ee + 8db5618 commit a869d72

File tree

7 files changed

+253
-213
lines changed

7 files changed

+253
-213
lines changed

.envrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export VIRTUAL_ENV=".venv"
2+
layout python3

.github/workflows/system-tests-backend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
- name: Install Python dependencies
6767
run: |
6868
python3 -m pip install --upgrade pip
69-
python3 -m pip install requests
69+
python3 -m pip install -r requirements.txt
7070
7171
- name: Set up Java
7272
uses: actions/setup-java@v4

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,7 @@ distributions/
2020
*.vscode/
2121
sentry-spring-boot-starter-jakarta/src/main/resources/META-INF/spring.factories
2222
sentry-samples/sentry-samples-spring-boot-jakarta/spy.log
23+
sentry-mock-server.txt
24+
spring-server.txt
2325
spy.log
2426
.kotlin

Makefile

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: all clean compile javadocs dryRelease update checkFormat api assembleBenchmarkTestRelease assembleUiTestRelease assembleUiTestCriticalRelease createCoverageReports runUiTestCritical check preMerge publish systemtest systemtest-interactive
1+
.PHONY: all clean compile javadocs dryRelease update checkFormat api assembleBenchmarkTestRelease assembleUiTestRelease assembleUiTestCriticalRelease createCoverageReports runUiTestCritical setupPython systemTest systemTestInteractive check preMerge publish
22

33
all: stop clean javadocs compile createCoverageReports
44
assembleBenchmarks: assembleBenchmarkTestRelease
@@ -10,6 +10,7 @@ publish: clean dryRelease
1010
clean:
1111
./gradlew clean --no-configuration-cache
1212
rm -rf distributions
13+
rm -rf .venv
1314

1415
# build and run tests
1516
compile:
@@ -59,13 +60,19 @@ createCoverageReports:
5960
./gradlew jacocoTestReport
6061
./gradlew koverXmlReportRelease
6162

63+
# Create the Python virtual environment for system tests, and install the necessary dependencies
64+
setupPython:
65+
@test -d .venv || python3 -m venv .venv
66+
.venv/bin/pip install --upgrade pip
67+
.venv/bin/pip install -r requirements.txt
68+
6269
# Run system tests for sample applications
63-
systemtest:
64-
python3 test/system-test-runner.py test --all
70+
systemTest: setupPython
71+
.venv/bin/python test/system-test-runner.py test --all
6572

6673
# Run system tests with interactive module selection
67-
systemtest-interactive:
68-
python3 test/system-test-runner.py test --interactive
74+
systemTestInteractive: setupPython
75+
.venv/bin/python test/system-test-runner.py test --interactive
6976

7077
# Run tests and lint
7178
check:

requirements.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
certifi==2025.7.14
2+
charset-normalizer==3.4.2
3+
idna==3.10
4+
requests==2.32.4
5+
urllib3==2.5.0

sentry-samples/sentry-samples-console/src/main/java/io/sentry/samples/console/Main.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ public static void main(String[] args) throws InterruptedException {
6666
// Enable SDK logging with Debug level
6767
options.setDebug(true);
6868
// To change the verbosity, use:
69-
// By default it's DEBUG.
7069
// options.setDiagnosticLevel(SentryLevel.ERROR);
70+
// By default it's DEBUG.
7171
// A good option to have SDK debug log in prod is to use only level ERROR here.
7272

7373
// Exclude frames from some packages from being "inApp" so are hidden by default in Sentry

0 commit comments

Comments
 (0)