Skip to content

Add assigned reads by STAR quantification to metadata fields of RNATables #315

Add assigned reads by STAR quantification to metadata fields of RNATables

Add assigned reads by STAR quantification to metadata fields of RNATables #315

Workflow file for this run

name: ReSDK CI
on:
push:
branches:
- master
tags:
- "[0-9]+.[0-9]+.[0-9]+*"
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
tox-env: [py37, py38, py39, py310, docs, linters, package]
include:
- tox-env: py37
python-version: 3.7
- tox-env: py38
python-version: 3.8
- tox-env: py39
python-version: 3.9
- tox-env: py310
python-version: "3.10"
- tox-env: linters
python-version: 3.8
- tox-env: package
python-version: 3.8
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip tox
- name: Run Tests
run: >
tox -e ${{ matrix.tox-env }}
- name: Upload coverage to Codecov
if: matrix.tox-env == 'py37' || matrix.tox-env == 'py38' || matrix.tox-env == 'py39' || matrix.tox-env == 'py310'
uses: codecov/codecov-action@v1
with:
file: .coverage
build:
runs-on: ubuntu-20.04
needs: test
if: "startsWith(github.ref, 'refs/tags')"
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install build
run: python -m pip install --user build
- name: Build a binary wheel and a source tarball
run: python -m build --sdist --wheel --outdir dist/ .
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.pypi_password }}