Skip to content

Merge pull request #39 from small-thinking/update-version-3 #86

Merge pull request #39 from small-thinking/update-version-3

Merge pull request #39 from small-thinking/update-version-3 #86

Workflow file for this run

name: Run Tests
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install Poetry
run: |
python -m pip install --upgrade pip
pip install poetry
pip install -r requirements.txt
- name: Install dependencies
run: |
poetry install
- name: Install pytest
run: |
pip install pytest
- name: Run Flake8
run: poetry run flake8 polymind/
- name: Run isort
run: poetry run isort --check-only .
- name: Run Pytest
run: poetry run pytest