Skip to content

Merge pull request #699 from NextCenturyCorporation/development #24

Merge pull request #699 from NextCenturyCorporation/development

Merge pull request #699 from NextCenturyCorporation/development #24

name: Tests
on:
push:
branches:
master
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-versions: [3.7, 3.8, 3.9]
runs-on: ${{ matrix.os }}
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Install Python 3
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-versions }}
- name: Install Geos for Mac
if: runner.os == 'macos'
run: brew install geos
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install -r requirements.txt
- name: Run unit tests
run: python -m unittest
- name: Flake8
run: flake8
- name: Autopep8
run: autopep8 --in-place --aggressive --recursive machine_common_sense