reduce flaky make #173
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: Python Code | |
on: [push] | |
jobs: | |
test: | |
name: Python Code | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Build package | |
run: make deps && make && make knotty ipknot ihfold hotknots | |
- name: Check formatting | |
run: .venv/bin/black . --check | |
- name: Test binary | |
run: .venv/bin/rna_analysis --help | |
- name: Run unit tests | |
run: .venv/bin/pytest tests -v |