serverless-haskell 0.3.0 → 0.3.1
raw patch · 2 files changed
+19/−3 lines, 2 files
Files
- README.md +17/−1
- serverless-haskell.cabal +2/−2
README.md view
@@ -10,7 +10,7 @@ ## Requirements * AWS account-* [`stack`](Stack)+* [Stack] * [NPM] * [Docker] unless running on a Linux host @@ -86,14 +86,30 @@ [AWSLambda](https://hackage.haskell.org/package/serverless-haskell/docs/AWSLambda.html) for documentation, including additional options to control the deployment. +## Testing++* Haskell code is tested with Stack: `stack test`.+* JavaScript code is linted with `eslint`.++### Integration tests++Integration tests are not run automatically due to the need for an AWS account.+To run them manually:++* Ensure you have the required dependencies: `curl`, [jq], [NPM] and [Stack].+* Get an AWS account and add the access credentials into your shell environment.+* Run `./integration-test/run.sh`. The exit code indicates success.+ ## Releasing +* Run the integration tests. * Install [bumpversion](https://github.com/peritus/bumpversion): `pip install bumpversion`. * Run `bumpversion major|minor|patch`. * Run `git push --tags && git push`. [AWS Lambda]: https://aws.amazon.com/lambda/ [Docker]: https://www.docker.com/+[jq]: https://stedolan.github.io/jq/ [NPM]: https://www.npmjs.com/ [Serverless]: https://serverless.com/framework/ [Stack]: https://haskellstack.org
serverless-haskell.cabal view
@@ -2,10 +2,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: f929d242059185f4a030d9f0dc9539ffca585e5bb68916375a2edd874f696be1+-- hash: ce5c80cf11a767160659f257fa8a624d46249ad9777655b9054afe79c3875bcb name: serverless-haskell-version: 0.3.0+version: 0.3.1 synopsis: Deploying Haskell code onto AWS Lambda using Serverless description: Utilities to help process the events from AWS Lambda when deployed with the serverless-haskell plugin. category: AWS, Cloud, Network