📝 Update README #79
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
# OmicLearn Tests | |
name: OmicLearn Tests | |
'on': | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: '*' | |
jobs: | |
omiclearn_tests: | |
runs-on: ubuntu-latest | |
# Steps | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10.11' | |
architecture: x64 | |
cache: pip | |
- name: Display Python version | |
run: python --version | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install . | |
- name: List the installed packages | |
run: pip list | |
- name: Show OmicLearn | |
run: pip show omiclearn | |
- name: Run black formatting check | |
run: black --check . | |
- name: Run isort sorting check | |
run: isort --profile black --check-only . | |
- name: Run tests | |
run: | | |
cd tests/ | |
pytest -vv |