This repository has been archived by the owner on Feb 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
38b621d
commit 96d446b
Showing
1 changed file
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
dist: focal | ||
language: python | ||
python: | ||
- 3.6 | ||
- 3.7 | ||
- 3.8 | ||
- 3.9 | ||
before_install: | ||
- sudo apt-get install libgnutls28-dev | ||
- python --version | ||
- pip install -U pip | ||
- pip install -U pytest | ||
- pip install codecov | ||
install: | ||
- pip install -r lambda/requirements.txt # install package + test dependencies | ||
script: pytest # run tests | ||
install: "pip install -r lambda/requirements.txt" | ||
script: | ||
- flake8 --ignore=E501,W503 lambda | ||
- coverage run lambda/lambda_function.py | ||
after_success: | ||
- codecov # submit coverage | ||
- bash <(curl -s https://codecov.io/bash) | ||
- codecov |