Skip to content

Commit

Permalink
Add GHA workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
scwatts committed May 12, 2024
1 parent 203c9d6 commit f57126a
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: install
on: [push]
jobs:
install:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
conda-solver: "libmamba"
python-version: "3.11"
channels: bioconda,conda-forge,defaults
- name: Conda install
shell: bash -el {0}
run: conda install 'python >=3.6' 'biopython ==1.72' 'reportlab ==3.4.0' 'prodigal >=2.6.1' 'blast >=2.2.28'
- name: Install
shell: bash -el {0}
run: pip install .
- name: Check install
shell: bash -el {0}
run: (hicap --version | grep hicap) || exit 1
19 changes: 19 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
conda-solver: "libmamba"
python-version: "3.11"
channels: bioconda,conda-forge,defaults
- name: Conda install
shell: bash -el {0}
run: conda install 'python >=3.6' 'biopython ==1.72' 'reportlab ==3.4.0' 'prodigal >=2.6.1' 'blast >=2.2.28'
- name: Test
shell: bash -el {0}
run: python3 -m unittest

0 comments on commit f57126a

Please sign in to comment.