Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 00f7894

Browse files
Add Github Actions workflow file
1 parent d35ae7f commit 00f7894

File tree

3 files changed

+35
-5
lines changed

3 files changed

+35
-5
lines changed

‎.github/workflows/execute_tests.yml‎

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Execute tests
2+
3+
on: push
4+
5+
jobs:
6+
execute_tests:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
python-version: ['3.7', '3.8', '3.9']
11+
name: Python ${{ matrix.python-version }} tests
12+
steps:
13+
- uses: actions/checkout@v3
14+
15+
- name: Setup python
16+
uses: actions/setup-python@v3
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
20+
- name: Print information
21+
run: |
22+
echo "python version $(python --version) running"
23+
echo "pip version $(pip --version) running"
24+
25+
- name: Build
26+
run: |
27+
python setup.py sdist bdist_wheel
28+
29+
- name: Test
30+
run: |
31+
python setup.py test

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# python-lambda-local
22

33
[![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)
4-
[![wercker status](https://app.wercker.com/status/04f5bc5b7de3d5c6f13eb5b871035226/s"wercker status")](https://app.wercker.com/project/bykey/04f5bc5b7de3d5c6f13eb5b871035226)
4+
[![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/)
55
[![PyPI version](https://badge.fury.io/py/python-lambda-local.svg)](https://badge.fury.io/py/python-lambda-local)
66

77
Run lambda function on local machine

‎README.rst‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
python-lambda-local
22
===================
33

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

76
Run lambda function on local machine
87

@@ -184,7 +183,7 @@ Sample
184183
185184
.. |Join the chat at https://gitter.im/HDE/python-lambda-local| image:: https://badges.gitter.im/Join%20Chat.svg
186185
:target: https://gitter.im/HDE/python-lambda-local?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
187-
.. |wercker status| image:: https://app.wercker.com/status/04f5bc5b7de3d5c6f13eb5b871035226/s
188-
:target: https://app.wercker.com/project/bykey/04f5bc5b7de3d5c6f13eb5b871035226
186+
.. |Github Actions status| image:: https://github.com/github/docs/actions/workflows/main.yml/badge.svg
187+
:target: https://github.com/HDE/python-lambda-local/actions/
189188
.. |PyPI version| image:: https://badge.fury.io/py/python-lambda-local.svg
190189
:target: https://badge.fury.io/py/python-lambda-local

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /