From e6c42cf5f041b5c7b3357808307538d3b6e0e04c Mon Sep 17 00:00:00 2001 From: Heiko Thiery Date: Mon, 4 Jan 2021 15:48:06 +0100 Subject: [PATCH] actions: initial Signed-off-by: Heiko Thiery --- .github/workflows/unittests.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/unittests.yml diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml new file mode 100644 index 0000000..b79076a --- /dev/null +++ b/.github/workflows/unittests.yml @@ -0,0 +1,29 @@ +name: Test + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + tests: + name: Python ${{ matrix.python-version }} + runs-on: ubuntu-latest + + strategy: + matrix: + python-version: ["3.6", "3.7", "3.8", "pypy3"] + + steps: + - uses: actions/checkout@master + - uses: actions/setup-python@v2 + + - name: Install dependencies + run: pip install python-coveralls coverage nose + - name: Setup + run: python setup.py install + - name: Test + run: nosetests --with-coverage