Skip to content

Commit

Permalink
Added instalation test
Browse files Browse the repository at this point in the history
  • Loading branch information
khoroshevskyi committed Sep 13, 2024
1 parent bc78cf6 commit 6a5c9a2
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 2 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/run-pytest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
## we can't run test, but lets just install all dependencies and package
name: Installation test

on:
push:
branches: [dev]
pull_request:
branches: [master, dev]

jobs:
pytest:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.9", "3.12"]
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dev dependencies
run: if [ -f requirements/requirements-dev.txt ]; then pip install -r requirements/requirements-dev.txt; fi

- name: Install package
run: python -m pip install .

# - name: Run pytest tests
# run: pytest tests -x -vv
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Using Python, this is how you can run `attribute_standardizer` and print the res


```
from attribute_standardizer import AttrStandardizer
from bedms import AttrStandardizer
model = AttrStandardizer("ENCODE")
model = AttrStandardizer("FAIRTRACKS")
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from setuptools import find_packages, setup

PACKAGE_NAME = "attribute_standardizer"
PACKAGE_NAME = "bedms"

# Ordinary dependencies
DEPENDENCIES = []
Expand Down

0 comments on commit 6a5c9a2

Please sign in to comment.