Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4 from patrikkaura/3-refactor-migrate-to-github
Browse files Browse the repository at this point in the history
refactor: migrate to github
  • Loading branch information
patrikkaura authored and patrik-kaura committed Aug 13, 2022
2 parents 2e27138 + aff35e2 commit e776557
Show file tree
Hide file tree
Showing 7 changed files with 80 additions and 165 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/github-action-pipeline.yml

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/github-action-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: dna-analyser-ibp-release

on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'

jobs:
publish:
strategy:
fail-fast: false
matrix:
python-version: ["3.6"]
poetry-version: ["1.1.11"]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: start image
uses: abatilo/actions-poetry@v2.0.0
- name: poetry install
run: poetry install
- name: poetry publish
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
run: |
poetry config pypi-token.pypi $PYPI_TOKEN
poetry publish --build
36 changes: 36 additions & 0 deletions .github/workflows/github-action-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: dna-analyser-ibp-test

on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
cron: "0 12 * * *"

jobs:
tests:
strategy:
fail-fast: false
matrix:
python-version: ["3.6"]
poetry-version: ["1.1.11"]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: start image
uses: abatilo/actions-poetry@v2.0.0
- name: poetry install
run: poetry install
- name: test-models
run: poetry run pytest tests/test_models
- name: test-adapters
run: poetry run pytest tests/test_adapters
- name: test-utils
run: poetry run pytest tests/test_utils
116 changes: 0 additions & 116 deletions .gitlab-ci.yml

This file was deleted.

9 changes: 0 additions & 9 deletions .releaserc.yml

This file was deleted.

3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<br />
<div align="center">
<a href="https://pypi.org/project/dna-analyser-ibp/">
<img src="https://img.shields.io/badge/Version 3.4.1-green?style=for-the-badge" alt='package_version'/>
<img src="https://img.shields.io/badge/Version 3.5.0-green?style=for-the-badge" alt='package_version'/>
</a>
<img src="https://img.shields.io/badge/Python 3.6+-00599C?style=for-the-badge&logo=python&logoColor=white" alt='python_version'/>
<img src="https://img.shields.io/badge/jupyter-gray?style=for-the-badge&logo=jupyter" alt='jupyter'/>
Expand Down Expand Up @@ -164,7 +164,6 @@ API.p53.run_multiple(
## DEV dependencies

* pytest = "^6.0.2"
* pdoc3 = "^0.9.1"
* black = "^20.0"

## Tests
Expand Down
25 changes: 12 additions & 13 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[tool.poetry]
name = "DNA_analyser_IBP"
version = "3.4.1"
version = "3.5.0"
description = "DNA analyser API wrapper tool for Jupiter notebooks."
authors = ["Patrik Kaura <patrikkaura@gmail.com>"]
license = "GPL-3.0-or-later"
readme = "README.md"
homepage = "http://bioinformatics.ibp.cz/"
repository = "https://gitlab.com/PatrikKaura/DNA_analyser_IBP/"
documentation = "https://patrikkaura.gitlab.io/DNA_analyser_IBP/"
repository = "https://github.com/patrikkaura/dna-analyser-ibp"
documentation = "https://github.com/patrikkaura/dna-analyser-ibp/"
keywords = ["DNA", "g4hunter", "g4killer", "p53"]
classifiers=[
"Intended Audience :: Education",
Expand All @@ -26,19 +26,18 @@ packages = [
]

[tool.poetry.dependencies]
python = "^3.6.9"
requests = "^2.20.0"
pandas = "^1.0.0"
tqdm = "^4.28"
pyjwt = "^1.7.1"
matplotlib = "^3.0.3"
requests-toolbelt = "^0.9.1"
tenacity = "^6.1.0"
python = "3.6.15"
requests = "2.20.0"
pandas = "1.0.0"
tqdm = "4.28"
pyjwt = "1.7.1"
matplotlib = "3.0.3"
requests-toolbelt = "0.9.1"
tenacity = "6.1.0"


[tool.poetry.dev-dependencies]
pytest = "^6.0.2"
pdoc3 = "^0.9.1"
pytest = "6.0.2"

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down

0 comments on commit e776557

Please sign in to comment.