Skip to content

fixes from recent commit #18

fixes from recent commit

fixes from recent commit #18

name: On PR Changed, Run a simple totolo read test
on:
push:
branches: [ master ]
pull_request:
types: [ opened, synchronized ]
jobs:
build-test:
strategy:
matrix:
python-version: ["3.8", "3.x"]
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install totolo
- name: Test with totolo
run: |
python -c "import totolo; o=totolo.files('./notes'); assert(len(o.story)>0 and len(o.theme)>0);"