diff --git a/.github/worflows/test.yml b/.github/worflows/test.yml new file mode 100644 index 0000000..53d6127 --- /dev/null +++ b/.github/worflows/test.yml @@ -0,0 +1,27 @@ +name: Python package + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + # You can use PyPy versions in python-version. + # For example, pypy-2.7 and pypy-3.8 + matrix: + python-version: ["2.7", "3.6", "3.7", "3.8", "3.9"] + + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python-version }} + # You can test your matrix by printing the current Python version + - name: Display Python version + run: python -c "import sys; print(sys.version)" + - name: install deps + run: python setup.py install + - name: test + run: python -m unittest diff --git a/README.md b/README.md index c4b2c60..d5203ee 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,6 @@ MessageBird's REST API for Python ================================= This repository contains the open source Python client for MessageBird's REST API. Documentation can be found at: https://developers.messagebird.com/. -[![Build Status](https://travis-ci.org/messagebird/python-rest-api.svg?branch=master)](https://travis-ci.org/messagebird/python-rest-api) - Requirements ------------ - [Sign up](https://www.messagebird.com/en/signup) for a free MessageBird account @@ -85,4 +83,4 @@ Complete documentation, instructions, and examples are available at: License ------- -The MessageBird REST Client for Python is licensed under [The BSD 2-Clause License](http://opensource.org/licenses/BSD-2-Clause). Copyright (c) 2014, MessageBird +The MessageBird REST Client for Python is licensed under [The BSD 2-Clause License](http://opensource.org/licenses/BSD-2-Clause). Copyright (c) 2022, MessageBird