Skip to content

Commit

Permalink
test v0.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
andyjslee committed Aug 16, 2024
1 parent 41c5b69 commit 5837434
Show file tree
Hide file tree
Showing 12 changed files with 828 additions and 0 deletions.
69 changes: 69 additions & 0 deletions .github/workflows/alignment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: alignment
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Free disk space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true

- name: Set up Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
activate-environment: test-env
python-version: "3.10"

- name: Install dependencies
shell: bash -l {0}
run: |
# Remove tmp files
sudo rm -rf /tmp/*
# Install conda packages
conda env list
conda info
conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge
conda config --set channel_priority strict
conda install pandas
conda install nextflow==23.10.0
conda install pylint
conda install coveralls
conda install pytest
conda install pytest-cov
# Install nexus
pip install . --verbose
- name: Run linter
shell: bash -l {0}
run: |
chmod +x lint.sh
bash lint.sh
- name: Run unit tests
shell: bash -l {0}
run: |
chmod +x scripts/unittests/unittest_alignment.sh
bash scripts/unittests/unittest_alignment.sh
69 changes: 69 additions & 0 deletions .github/workflows/assembly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: assembly
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Free disk space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true

- name: Set up Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
activate-environment: test-env
python-version: "3.10"

- name: Install dependencies
shell: bash -l {0}
run: |
# Remove tmp files
sudo rm -rf /tmp/*
# Install conda packages
conda env list
conda info
conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge
conda config --set channel_priority strict
conda install pandas
conda install nextflow==23.10.0
conda install pylint
conda install coveralls
conda install pytest
conda install pytest-cov
# Install nexus
pip install . --verbose
- name: Run linter
shell: bash -l {0}
run: |
chmod +x lint.sh
bash lint.sh
- name: Run unit tests
shell: bash -l {0}
run: |
chmod +x scripts/unittests/unittest_assembly.sh
bash scripts/unittests/unittest_assembly.sh
69 changes: 69 additions & 0 deletions .github/workflows/haplotyping.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: haplotyping
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Free disk space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true

- name: Set up Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
activate-environment: test-env
python-version: "3.10"

- name: Install dependencies
shell: bash -l {0}
run: |
# Remove tmp files
sudo rm -rf /tmp/*
# Install conda packages
conda env list
conda info
conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge
conda config --set channel_priority strict
conda install pandas
conda install nextflow==23.10.0
conda install pylint
conda install coveralls
conda install pytest
conda install pytest-cov
# Install nexus
pip install . --verbose
- name: Run linter
shell: bash -l {0}
run: |
chmod +x lint.sh
bash lint.sh
- name: Run unit tests
shell: bash -l {0}
run: |
chmod +x scripts/unittests/unittest_haplotyping.sh
bash scripts/unittests/unittest_haplotyping.sh
69 changes: 69 additions & 0 deletions .github/workflows/hla_typing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: hla_typing
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Free disk space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true

- name: Set up Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
activate-environment: test-env
python-version: "3.10"

- name: Install dependencies
shell: bash -l {0}
run: |
# Remove tmp files
sudo rm -rf /tmp/*
# Install conda packages
conda env list
conda info
conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge
conda config --set channel_priority strict
conda install pandas
conda install nextflow==23.10.0
conda install pylint
conda install coveralls
conda install pytest
conda install pytest-cov
# Install nexus
pip install . --verbose
- name: Run linter
shell: bash -l {0}
run: |
chmod +x lint.sh
bash lint.sh
- name: Run unit tests
shell: bash -l {0}
run: |
chmod +x scripts/unittests/unittest_hla_typing.sh
bash scripts/unittests/unittest_hla_typing.sh
69 changes: 69 additions & 0 deletions .github/workflows/novel_isoform_discovery.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: novel_isoform_discovery
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Free disk space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true

- name: Set up Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
activate-environment: test-env
python-version: "3.10"

- name: Install dependencies
shell: bash -l {0}
run: |
# Remove tmp files
sudo rm -rf /tmp/*
# Install conda packages
conda env list
conda info
conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge
conda config --set channel_priority strict
conda install pandas
conda install nextflow==23.10.0
conda install pylint
conda install coveralls
conda install pytest
conda install pytest-cov
# Install nexus
pip install . --verbose
- name: Run linter
shell: bash -l {0}
run: |
chmod +x lint.sh
bash lint.sh
- name: Run unit tests
shell: bash -l {0}
run: |
chmod +x scripts/unittests/unittest_novel_isoform_discovery.sh
bash scripts/unittests/unittest_novel_isoform_discovery.sh
Loading

0 comments on commit 5837434

Please sign in to comment.