Skip to content

Commit

Permalink
Merge pull request #3 from cgat-developers/v1.10.0
Browse files Browse the repository at this point in the history
V1.10.0
  • Loading branch information
AndreasHeger authored Nov 18, 2021
2 parents d465bdf + 199f084 commit 8e10a69
Show file tree
Hide file tree
Showing 9 changed files with 50 additions and 1,163 deletions.
54 changes: 16 additions & 38 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,20 @@ name: Publish cgat-daisy wheels to PyPI and TestPyPI
on:
push:
branches:
- v[0-9]+.[0-9]+.x
- v[0-9]+.[0-9]+*
tags:
- v*
release:
types:
- published

jobs:
build_wheels:
build:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
cibw_archs: ["auto"]
os: [ubuntu-latest]

steps:
- name: Checkout cgat-daisy
Expand All @@ -30,41 +29,18 @@ jobs:

- name: Run image
uses: abatilo/[email protected]

- name: Poetry install
run: poetry install


- name: Poetry install
run: poetry build --format=sdist

- name: Build wheels for linux
if: runner.os == 'Linux'
uses: pypa/[email protected]
env:
CIBW_BUILD: cp36-* cp37-* cp38-* cp39-* cp310-*
CIBW_SKIP: "*musllinux*"
CIBW_ARCHS: ${{ matrix.cibw_archs }}

# - name: Build wheels for macos
# if: runner.os != 'Linux'
# uses: pypa/[email protected]
# env:
# CIBW_BUILD: cp36-* cp37-* cp38-* cp39-* cp310-*
# CIBW_BEFORE_BUILD: pip install cython
# CIBW_ARCHS: ${{ matrix.cibw_archs }}
- uses: actions/upload-artifact@v2
with:
path: dist/*.tar.gz


- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
path: ./wheelhouse/*.whl
path: dist/*


upload_pypi:

needs: [build_wheels, build_sdist]
needs: [build]
runs-on: ubuntu-latest

steps:
Expand All @@ -75,17 +51,19 @@ jobs:
path: dist

- name: Publish distribution to Test PyPI
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
if: github.event_name == 'push'
uses: pypa/gh-action-pypi-publish@master
with:
verbose: true
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/

# - name: Publish distribution to PyPI
# if: github.event_name == 'release' && github.event.action == 'published'
# uses: pypa/gh-action-pypi-publish@master
# with:
# user: __token__
# password: ${{ secrets.PYPI_API_TOKEN }}
- name: Publish distribution to PyPI
if: github.event_name == 'release' && github.event.action == 'published'
uses: pypa/gh-action-pypi-publish@master
with:
verbose: true
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

36 changes: 0 additions & 36 deletions .travis.yml

This file was deleted.

33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Daisy/CGAT Bench

Daisy is a system to design and execute benchmarking tasks.

After installation, use the ``daisy`` command to see how to use them.

For questions, please open a discussion on the GitHub
`issue page <https://github.com/cgat-developers/cgat-daisy/issues>`_.

Installation
============

daisy is available via pypi:

```
pip install cgat-daisy
```

or in conda:

```
conda install cgat-daisy
```

Usage
=====

Run the ``daisy --help`` for the tools that are available.

Documentation
=============

Full documentation is on RTD (WIP)
63 changes: 0 additions & 63 deletions README.rst

This file was deleted.

15 changes: 0 additions & 15 deletions conda/environments/bench-devel.yml

This file was deleted.

Loading

0 comments on commit 8e10a69

Please sign in to comment.