Skip to content

Build & Test

Build & Test #1168

Workflow file for this run

name: Build & Test
'on':
push:
branches:
- "**"
pull_request:
branches:
- "**"
schedule:
- cron: 0 16 * * *
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version:
- 3.8
- 3.9
include:
- os: "ubuntu-latest"
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: 'Set up Python ${{ matrix.python-version }}'
uses: actions/setup-python@v2
with:
python-version: '${{ matrix.python-version }}'
- name: Install dependencies
run: |
pip3 install -r requirements.txt
pip3 install .
pip3 install coverage
- name: Run Tests
run: |
python -m unittest discover