From 8705d595d60b76f7f134fd0d7055844d29229652 Mon Sep 17 00:00:00 2001 From: Jonathan Wren Date: Sat, 7 Nov 2020 12:27:46 -0800 Subject: [PATCH] Add initial config to test github actions --- .github/workflows/python-app.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/python-app.yml diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml new file mode 100644 index 00000000..d2a5dad6 --- /dev/null +++ b/.github/workflows/python-app.yml @@ -0,0 +1,31 @@ +# This workflow will install Python dependencies, run tests and lint with a single version of Python +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions + +name: Python application + +on: + push: + branches: [ develop ] + pull_request: + branches: [ develop ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up Python 3.8 + uses: actions/setup-python@v2 + with: + python-version: 3.8 + - name: Install dependencies + run: | + poetry install + - name: Test with pytest + run: | + poetry run pytest + - name: Test with behave + run: | + poetry run behave