Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add Github Actions workflow file
  • Loading branch information
freedomofkeima committed Jun 2, 2022
commit 00f78945a13e8e363af5ce8f653d732fb3eacf17
31 changes: 31 additions & 0 deletions .github/workflows/execute_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Execute tests

on: push

jobs:
execute_tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9']
name: Python ${{ matrix.python-version }} tests
steps:
- uses: actions/checkout@v3

- name: Setup python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}

- name: Print information
run: |
echo "python version $(python --version) running"
echo "pip version $(pip --version) running"

- name: Build
run: |
python setup.py sdist bdist_wheel

- name: Test
run: |
python setup.py test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# python-lambda-local

[![Join the chat at https://gitter.im/HDE/python-lambda-local](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/HDE/python-lambda-local?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![wercker status](https://app.wercker.com/status/04f5bc5b7de3d5c6f13eb5b871035226/s "wercker status")](https://app.wercker.com/project/bykey/04f5bc5b7de3d5c6f13eb5b871035226)
[![Github Actions status](https://github.com/HDE/python-lambda-local/actions/workflows/execute_tests.yml/badge.svg)](https://github.com/HDE/python-lambda-local/actions/)
[![PyPI version](https://badge.fury.io/py/python-lambda-local.svg)](https://badge.fury.io/py/python-lambda-local)

Run lambda function on local machine
Expand Down
7 changes: 3 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
python-lambda-local
===================

|Join the chat at https://gitter.im/HDE/python-lambda-local| |wercker
status| |PyPI version|
|Join the chat at https://gitter.im/HDE/python-lambda-local| |Github Actions status| |PyPI version|

Run lambda function on local machine

Expand Down Expand Up @@ -184,7 +183,7 @@ Sample

.. |Join the chat at https://gitter.im/HDE/python-lambda-local| image:: https://badges.gitter.im/Join%20Chat.svg
:target: https://gitter.im/HDE/python-lambda-local?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
.. |wercker status| image:: https://app.wercker.com/status/04f5bc5b7de3d5c6f13eb5b871035226/s
:target: https://app.wercker.com/project/bykey/04f5bc5b7de3d5c6f13eb5b871035226
.. |Github Actions status| image:: https://github.com/github/docs/actions/workflows/main.yml/badge.svg
:target: https://github.com/HDE/python-lambda-local/actions/
.. |PyPI version| image:: https://badge.fury.io/py/python-lambda-local.svg
:target: https://badge.fury.io/py/python-lambda-local