Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/_test-integrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@ jobs:
WORKFLOW_ID: ${{ secrets.WORKFLOW_ID_SE_TESTS }}
MINDEE_V2_API_KEY: ${{ secrets.MINDEE_V2_SE_TESTS_API_KEY }}
MINDEE_V2_FINDOC_MODEL_ID: ${{ secrets.MINDEE_V2_SE_TESTS_FINDOC_MODEL_ID }}
MINDEE_V2_SE_TESTS_BLANK_PDF_URL: ${{ secrets.MINDEE_V2_SE_TESTS_BLANK_PDF_URL }}
run: |
mvn clean test-compile failsafe:integration-test failsafe:verify
4 changes: 1 addition & 3 deletions src/test/java/com/mindee/MindeeClientV2IT.java
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,7 @@ void invalidJob_mustThrowError() {
@Test
@DisplayName("URL input source - A url param should not raise errors.")
void urlInputSource_mustNotRaiseErrors() throws IOException, InterruptedException {
URLInputSource urlSource = URLInputSource.builder(
"https://upload.wikimedia.org/wikipedia/commons/1/1d/Blank_Page.pdf"
).build();
URLInputSource urlSource = URLInputSource.builder(System.getenv("MINDEE_V2_SE_TESTS_BLANK_PDF_URL")).build();

InferenceParameters options = InferenceParameters
.builder(modelId)
Expand Down
Loading