-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6a0e6d0
commit 1de24bd
Showing
8 changed files
with
301 additions
and
72 deletions.
There are no files selected for viewing
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# 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 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# VSCode | ||
.vscode | ||
.idea | ||
|
||
# Python | ||
__pycache__ | ||
|
||
# SWIG generated files | ||
lib/*.so | ||
lib/lrst.py | ||
src/lrst_wrap.cpp | ||
|
||
# Build and dist | ||
build | ||
dist | ||
|
||
# Conda | ||
conda | ||
|
||
# Outputs | ||
output | ||
|
||
# Sample data | ||
SampleData | ||
|
||
# Logs | ||
*.log | ||
|
||
# Testing scripts | ||
tests/SCRIPTS.txt |
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 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 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
Oops, something went wrong.