Skip to content

Commit 4376927

Browse files
[TEMP] enable in-place tests
1 parent c06d20e commit 4376927

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/_test-code-samples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
4141
- name: Tests code samples
4242
run: |
43-
./tests/test_code_samples.sh ${{ secrets.MINDEE_ACCOUNT_SE_TESTS }} ${{ secrets.MINDEE_ENDPOINT_SE_TESTS }} ${{ secrets.MINDEE_API_KEY_SE_TESTS }}
43+
./tests/test_code_samples.sh ${{ secrets.MINDEE_ACCOUNT_SE_TESTS }} ${{ secrets.MINDEE_ENDPOINT_SE_TESTS }} ${{ secrets.MINDEE_API_KEY_SE_TESTS }} ${{ secrets.MINDEE_V2_SE_TESTS_API_KEY }} ${{ secrets.MINDEE_V2_SE_TESTS_FINDOC_MODEL_ID }}
4444
4545
- name: Notify Slack Action on Failure
4646
uses: ravsamhq/notify-slack-action@2.3.0

.github/workflows/_test-integrations.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ jobs:
4747
env:
4848
MINDEE_API_KEY: ${{ secrets.MINDEE_API_KEY_SE_TESTS }}
4949
WORKFLOW_ID: ${{ secrets.WORKFLOW_ID_SE_TESTS }}
50+
MINDEE_V2_API_KEY: ${{ secrets.MINDEE_V2_SE_TESTS_API_KEY }}
51+
MINDEE_V2_FINDOC_MODEL_ID: ${{ secrets.MINDEE_V2_SE_TESTS_FINDOC_MODEL_ID }}
5052
run: |
5153
pytest -m integration
5254

.github/workflows/pull-request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
needs: test-units
1616
secrets: inherit
1717
test-integrations:
18-
uses: mindee/mindee-api-python/.github/workflows/_test-integrations.yml@main
18+
uses: mindee/mindee-api-python/.github/workflows/_test-integrations.yml@client-v2
1919
needs: test-units
2020
secrets: inherit
2121
test-code-samples:
22-
uses: mindee/mindee-api-python/.github/workflows/_test-code-samples.yml@main
22+
uses: mindee/mindee-api-python/.github/workflows/_test-code-samples.yml@client-v2
2323
needs: test-units
2424
secrets: inherit

0 commit comments

Comments
 (0)