Add initial config to test github actions

This commit is contained in:
Jonathan Wren 2020-11-07 12:27:46 -08:00 committed by GitHub
parent ef75dffd96
commit 8705d595d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

31
.github/workflows/python-app.yml vendored Normal file
View file

@ -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