Skip to content

Commit

Permalink
LOGS
Browse files Browse the repository at this point in the history
  • Loading branch information
vinicvaz committed Feb 15, 2024
1 parent d06784d commit 516a31e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/integration-tests-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ jobs:
DOMINO_GITHUB_WORKFLOWS_REPOSITORY: ${{secrets.TESTS_WORKFLOWS_REPOSITORY}}
run: pytest --cov=rest --cov-report=xml --cov-report=term-missing rest/tests/ -v -s

- name: Check rest logs
run: |
POD_NAME=$(kubectl get pods -l app=domino-rest -o=jsonpath='{.items[0].metadata.name}') && kubectl logs $POD_NAME
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
Expand Down
1 change: 0 additions & 1 deletion rest/tests/workflow/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ def edit_workflow_request_model(client: ApiTestClient, authorization_token: Dict
headers = {"Authorization": authorization_token["header"]},
params = {"name__like": "SimpleLogPiece"}
)
print('edit workflow request response', response.json())
possible_pieces = response.json()
example_piece = [i for i in possible_pieces if i["name"]=="SimpleLogPiece"][0]

Expand Down
1 change: 0 additions & 1 deletion rest/tests/workflow/test_workflow_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def test_create_workflow(patch_piece_secret: Response, create_workflow: Response
content=response.json()
mock_response_content=json.loads(mock_response.model_dump_json(by_alias=True))

print('RESPONSE', response.json())
assert response.status_code == 201
assert content.keys() == mock_response_content.keys()

Expand Down

0 comments on commit 516a31e

Please sign in to comment.