Skip to content

Update README.md

Update README.md #78

# 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