-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- adds automated testing - updates to install in 2024.10 dev environment - text clean-ups
- Loading branch information
1 parent
89df6b1
commit 67586c5
Showing
8 changed files
with
84 additions
and
57 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Test and lint | ||
|
||
on: | ||
pull_request: | ||
branches: ["main"] | ||
push: | ||
branches: ["main"] | ||
|
||
jobs: | ||
build-and-test-qiime2-amplicon-2024-10: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-13] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Conda | ||
uses: conda-incubator/setup-miniconda@v3 | ||
with: | ||
activate-environment: q2-boots-qiime2-amplicon-2024.10 | ||
environment-file: environments/q2-boots-qiime2-amplicon-2024.10.yml | ||
auto-activate-base: false | ||
|
||
- name: Install plugin | ||
shell: bash -l {0} | ||
run: make install | ||
|
||
- name: Run tests | ||
shell: bash -l {0} | ||
run: make test | ||
|
||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout source | ||
uses: actions/checkout@v3 | ||
|
||
- name: set up python 3.11 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.11 | ||
|
||
- name: install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -q https://github.com/qiime2/q2lint/archive/master.zip | ||
pip install -q flake8 | ||
- name: run flake8 | ||
run: flake8 | ||
|
||
- name: run q2lint | ||
run: q2lint |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: q2-boots-qiime2-amplicon-2024.10 | ||
channels: | ||
- https://packages.qiime2.org/qiime2/2024.10/amplicon/passed | ||
- conda-forge | ||
- bioconda | ||
dependencies: | ||
- qiime2-amplicon | ||
- pip | ||
- pip: | ||
- "q2-boots @ git+https://github.com/caporaso-lab/q2-boots.git" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -10,16 +10,19 @@ | |
|
||
import versioneer | ||
|
||
description = ('A QIIME 2 plugin supporting bootstrapped and rarefaction-based ' | ||
'diversity analyses.') | ||
|
||
setup( | ||
name="q2-boots", | ||
version=versioneer.get_version(), | ||
cmdclass=versioneer.get_cmdclass(), | ||
license="BSD-3-Clause", | ||
packages=find_packages(), | ||
author="Isaiah Raspet", | ||
author_email="[email protected]", | ||
description="This is a plugin for bootstraping sample data", | ||
url="https://github.com/qiime2/q2-boots", | ||
author_email="[email protected]", | ||
description=description, | ||
url="https://github.com/caporaso-lab/q2-boots", | ||
entry_points={ | ||
"qiime2.plugins": ["q2-boots=q2_boots.plugin_setup:plugin"] | ||
}, | ||
|