Skip to content

Commit

Permalink
Merge pull request #25 from databio/dev
Browse files Browse the repository at this point in the history
release 0.4.0
  • Loading branch information
khoroshevskyi authored Dec 18, 2023
2 parents 31bd254 + 930c9cb commit 2d3b4be
Show file tree
Hide file tree
Showing 23 changed files with 1,175 additions and 600 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/run-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,24 @@ on:
branches: [master, dev]
pull_request:
branches: [master, dev]
workflow_dispatch:
inputs: null

jobs:
pytest:
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
python-version: ["3.8", "3.11"]
os: [ubuntu-latest] # can't use macOS when using service containers or container jobs
runs-on: ${{ matrix.os }}
services:
postgres:
image: postgres
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: pipestat-password
POSTGRES_PASSWORD: dockerpassword
POSTGRES_DB: pipestat-test
POSTGRES_HOST: localhost
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
Expand All @@ -31,20 +34,14 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

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

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

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

- name: Run pytest tests
run: pytest tests -x -vv --cov=./ --cov-report=xml

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml
name: py-${{ matrix.python-version }}-${{ matrix.os }}
run: pytest tests -x -vv
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ open_pipelines/
# Build-related stuff
dist/
*.egg-info/
build/


#ipynm checkpoints
Expand Down
12 changes: 2 additions & 10 deletions bbconf/__init__.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
# Project configuration, particularly for logging.

import logmuse

from bbconf.bbconf import BedBaseConf, get_bedbase_cfg
from ._version import __version__
from .bbconf import *
from .const import *

__classes__ = ["BedBaseConf"]
__all__ = __classes__ + ["get_bedbase_cfg"]

logmuse.init_logger("bbconf")
__all__ = ["BedBaseConf", "get_bedbase_cfg", "__version__"]
2 changes: 1 addition & 1 deletion bbconf/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.3.1"
__version__ = "0.4.0"
Loading

0 comments on commit 2d3b4be

Please sign in to comment.