feat(tables): change table header delimiter to triple hyphen #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [ push, pull_request ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Install Poetry | |
run: | | |
pip install poetry | |
poetry config virtualenvs.path ~/.cache/pypoetry/virtualenvs | |
- name: Restore virtualenv from cache | |
id: cache | |
uses: actions/cache@v1 | |
with: | |
path: ~/.cache/pypoetry/virtualenvs | |
key: poetry-${{ hashFiles('poetry.lock') }} | |
- name: Install dependencies | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: poetry install | |
- name: Run linter | |
run: poetry run flake8 | |
- name: Run tests | |
run: poetry run pytest |