Skip to content

Commit 47376ee

Browse files
author
FusionAuth Automation
committed
Sync from monorepo 8d9d9553a20e
1 parent 3956be5 commit 47376ee

3 files changed

Lines changed: 13 additions & 3 deletions

File tree

build.savant

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,17 @@ target(name: "int", description: "Releases a local integration build of the proj
6363
}
6464

6565
target(name: "test", description: "Runs the project's tests", dependsOn: ["compile"]) {
66-
def pb = new ProcessBuilder("python3", "src/test/python/fusionauth/fusionauth_client_test.py")
66+
def pb = new ProcessBuilder("python3", "src/test/python/fusionauth/rest_client_test.py")
6767
pb.environment().put("PYTHONPATH", "src/main/python")
6868
if (pb.inheritIO().start().waitFor() != 0) {
6969
fail("Tests failed")
7070
}
71+
72+
def pb2 = new ProcessBuilder("python3", "src/test/python/fusionauth/fusionauth_client_test.py")
73+
pb2.environment().put("PYTHONPATH", "src/main/python")
74+
if (pb2.inheritIO().start().waitFor() != 0) {
75+
fail("Tests failed")
76+
}
7177
}
7278

7379
/**
@@ -83,6 +89,10 @@ target(name: "setup-python", description: "Gets the python dependencies") {
8389
def proc2 = "python3 -m pip install --user --upgrade wheel twine requests deprecated".execute()
8490
proc2.consumeProcessOutput(System.out, System.err)
8591
assert proc2.waitFor() == 0
92+
93+
def proc3 = "pip3 install .".execute()
94+
proc3.consumeProcessOutput(System.out, System.err)
95+
assert proc3.waitFor() == 0
8696
}
8797

8898
/**

src/test/docker/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ services:
1717
- db_data:/var/lib/postgresql/data
1818

1919
fusionauth:
20-
image: fusionauth/fusionauth-app:latest
20+
image: fusionauth/fusionauth-app:${FUSIONAUTH_IMAGE_TAG:-latest}
2121
depends_on:
2222
db:
2323
condition: service_healthy

src/test/docker/poll-for-kickstart-finish.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2024, FusionAuth, All Rights Reserved
2+
# Copyright (c) 2026, FusionAuth, All Rights Reserved
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)