Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
veghp committed May 4, 2022
2 parents b571366 + 90406e1 commit 937ae40
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 8 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: build

on: [push]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov coveralls
pip install dna_features_viewer
- name: Install
run: |
pip install -e .
- name: Test with pytest
run: |
python -m pytest --cov crazydoc --cov-report term-missing
- name: Coveralls
run: coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_SERVICE_NAME: github
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: python
python:
- "3.6"
- "3.9"
# command to install dependencies
install:
- pip install coveralls pytest-cov pytest dna_features_viewer
Expand Down
11 changes: 6 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
<br /><br />
</p>

.. image:: https://travis-ci.org/Edinburgh-Genome-Foundry/crazydoc.svg?branch=master
:target: https://travis-ci.org/Edinburgh-Genome-Foundry/crazydoc
:alt: Travis CI build status

.. image:: https://github.com/Edinburgh-Genome-Foundry/crazydoc/actions/workflows/build.yml/badge.svg
:target: https://github.com/Edinburgh-Genome-Foundry/crazydoc/actions/workflows/build.yml
:alt: GitHub CI build status

.. image:: https://coveralls.io/repos/github/Edinburgh-Genome-Foundry/crazydoc/badge.svg?branch=master
:target: https://coveralls.io/github/Edinburgh-Genome-Foundry/crazydoc?branch=master
Expand Down Expand Up @@ -91,13 +92,13 @@ You can install crazydoc through PIP:

.. code::
sudo pip install crazydoc
pip install crazydoc
Alternatively, you can unzip the sources in a folder and type:

.. code::
sudo python setup.py install
python setup.py install
License = MIT
-------------
Expand Down
2 changes: 1 addition & 1 deletion crazydoc/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.4"
__version__ = "0.1.5"
2 changes: 1 addition & 1 deletion pypi-readme.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CrazyDoc
============
========

Crazydoc is a Python library to parse one of the most common DNA representation formats: the joyfully coloured and stylishly annotated MS-Word document.

Expand Down

0 comments on commit 937ae40

Please sign in to comment.