Fix FAST5 base QC errors #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build and test LongReadSum | |
name: build tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Download assets | |
uses: dsaltares/[email protected] | |
with: | |
repo: 'WGLab/LongReadSum' | |
version: 'tags/v0.1.0' | |
file: 'SampleData.zip' | |
target: 'TestInputs/SampleData.zip' | |
- name: Unzip assets | |
shell: bash --login {0} | |
run: unzip TestInputs/SampleData.zip -d TestInputs | |
- name: Set up conda environment | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
activate-environment: lrst_py39 | |
environment-file: environment.yml | |
python-version: 3.9 | |
auto-activate-base: false | |
- name: Build LongReadSum | |
shell: bash --login {0} # --login enables PATH variable access | |
run: make | |
- name: Run tests | |
shell: bash --login {0} | |
run: | | |
mkdir output # Output folder for tests | |
pytest |