Skip to content

Merge pull request #37 from branfosj/main #129

Merge pull request #37 from branfosj/main

Merge pull request #37 from branfosj/main #129

Workflow file for this run

name: Unit tests
on:
push:
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-20.04
- macos-latest
python-version: [3.8, 3.9]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies (Common)
run: |
pip install flask PyGithub pytest
- name: Run tests
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd app
PYTHONPATH=$PWD pytest test/testapp.py