Skip to content

Commit bfb164f

Browse files
committed
hookup test for checkurl
1 parent b4a8faf commit bfb164f

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/maven.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,9 @@ jobs:
4949
python -m pytest tests/unit -v
5050
pylint cwl_pack_function
5151
pylint tests
52-
53-
52+
- name: Test checkurl with SAM CLI build and invoke
53+
working-directory: ./checkUrlExists
54+
run: |
55+
sam build --use-container
56+
sam local invoke LambdaFunction -e events/event.json &> output.txt
57+
grep "statusCode\": 200" output.txt

0 commit comments

Comments
 (0)