Release 1.1.0 🎉 #59
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: Linting and testing | |
on: [pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.version }} | |
- name: Install requirements | |
run: | | |
pip install -r requirements.txt | |
pip install -r tests/requirements.txt | |
- name: Install app | |
run: pip install . | |
- name: Lint with Flake8 | |
run: flake8 --max-line-length=120 . | |
- name: Run unit tests | |
run: | | |
pytest \ | |
--cov=tes/ \ | |
--cov-branch \ | |
--cov-report=term-missing \ | |
--cov-fail-under=99 | |
- name: Test with Funnel | |
run: | | |
/bin/bash -c "$(curl -fsSL https://github.com/ohsu-comp-bio/funnel/releases/download/0.11.0-rc.5/install.sh)" -- 0.11.0-rc.5 | |
funnel server --LocalStorage.AllowedDirs $HOME run & | |
pytest tests/integration |