Skip to content

Commit

Permalink
Fixup: CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hmstepanek committed Jul 17, 2023
1 parent 6b3c871 commit 56e4a3b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
jobs:
tests:
runs-on: ubuntu-latest
timeout-minutes: 5

strategy:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion python/tests/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ functions:
events:
- http:
method: get
path: /
path: ""
handler: src/handler.handler
environment:
NEW_RELIC_LAMBDA_HANDLER: src/handler.handler
Expand Down
2 changes: 1 addition & 1 deletion python/tests/src/handler.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
def handler():
def handler(event, context):
print("Running handler.")
2 changes: 1 addition & 1 deletion python/tests/test_lambda_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@


def test_lamdba_handler():
response = requests.get("http://localhost:3000", timeout=10)
response = requests.get("http://localhost:3000/dev", timeout=10)
assert response.status_code == 200

0 comments on commit 56e4a3b

Please sign in to comment.