Prototype of BFT abstractions and Streamlet; add static type checking #42
Workflow file for this run
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: tests | |
on: pull_request | |
jobs: | |
verify: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install gnome-keyring | |
# https://github.com/python-poetry/poetry/issues/2692 | |
run: sudo apt-get install gnome-keyring | |
- name: Install poetry | |
run: pip install --user poetry | |
- name: Install dependencies | |
run: poetry install --no-root | |
- name: Run tests | |
# -p '[a-z]*.py' avoids running tests from __init__.py files twice. | |
run: poetry run python -m unittest discover -s simtfl -t . -p '[a-z]*.py' --verbose --buffer |