You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+23
Original file line number
Diff line number
Diff line change
@@ -819,6 +819,29 @@ No modules.
819
819
| <aname="output_s3_object"></a> [s3\_object](#output\_s3\_object)| The map with S3 object data of zip archive deployed (if deployment was from S3) |
820
820
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
821
821
822
+
## Development
823
+
824
+
### Python
825
+
826
+
During development involving modifying python files, use tox to run unit tests:
827
+
828
+
```
829
+
tox
830
+
```
831
+
832
+
This will try to run unit tests which each supported python version, reporting errors for python versions which are not installed locally.
833
+
834
+
If you only want to test against your main python version:
835
+
836
+
```
837
+
tox -e py
838
+
```
839
+
840
+
You can also pass additional positional arguments to pytest which is used to run test, e.g. to make it verbose:
841
+
```
842
+
tox -e py -- -vvv
843
+
```
844
+
822
845
## Authors
823
846
824
847
Module managed by [Anton Babenko](https://github.com/antonbabenko). Check out [serverless.tf](https://serverless.tf) to learn more about doing serverless with Terraform.
# Create zip-archive of a single directory where "pip install" will also be executed (default for python runtime) and set temporary directory for pip install
32
+
# Create zip-archive of a single directory where "pip install" will also be executed (default for python runtime with requirements.txt present) and set temporary directory for pip install
0 commit comments