Skip to content

change readme

change readme #62

Workflow file for this run

name: MyTB CI
on:
push:
pull_request:
schedule:
- cron: "0 0 * * 0" # weekly
jobs:
build:
runs-on: ubuntu-20.04 # ubuntu-latest doesnt works with python 3.6
strategy:
matrix:
python-version: ["3.6", "3.8", "3.10", "3.12", "pypy-3.6", "pypy-3.8"]
steps:
- uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: install dependencies
run: |
python -m pip install -U pip
python -m pip install flake8
# Uncomment as soon as import order is cleaned
# - name: check import order
# if: ${{ matrix.python-version == '3.8' }}
# run: |
# python -m pip install isort
# python -m isort --show-files setup.py mytb
# python -m isort --diff --check setup.py mytb
- name: flake
if: ${{ matrix.python-version < 'pypy' }}
run: |
python -m flake8 mytb setup.py
- name: pytest
run: |
python -m pip install -r requirements/all.txt
pytest
- name: can_make_dist
run: |
python -m pip install poetry
poetry install