-
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.
PR for release 0.8.0
- Loading branch information
Showing
138 changed files
with
16,303 additions
and
2,376 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,41 @@ | ||
name: Build images / docs | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
# Cancel if a newer run is started | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
rich_codex: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out the repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: 3.x | ||
|
||
- uses: actions/cache@v2 | ||
with: | ||
key: ${{ github.ref }} | ||
path: .cache | ||
|
||
- name: Install requirements for docs | ||
run: pip install mkdocs-material . | ||
|
||
- name: Generate terminal images with rich-codex | ||
uses: ewels/rich-codex@v1 | ||
with: | ||
commit_changes: "true" | ||
clean_img_paths: docs/imgages/*.svg | ||
skip_git_checks: "true" | ||
terminal_width: 85 | ||
|
||
- name: Build and deploy docs | ||
run: mkdocs gh-deploy --force |
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,60 @@ | ||
name: Unit tests | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
paths: | ||
- ".github/workflows/unit-tests.yaml" | ||
- "tests/**" | ||
- "mess/**" | ||
- "setup.py" | ||
pull_request: | ||
branches: ["main"] | ||
paths: | ||
- ".github/workflows/unit-tests.yaml" | ||
- "tests/**" | ||
- "mess/**" | ||
- "setup.py" | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
tests: | ||
name: "Python ${{ matrix.python-version }} on ${{ matrix.os }}" | ||
runs-on: ${{ matrix.os }} | ||
|
||
defaults: | ||
run: | ||
shell: bash -el {0} | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [macos-latest, ubuntu-latest] | ||
python-version: ["3.10", "3.12"] | ||
|
||
steps: | ||
- uses: "actions/checkout@v3" | ||
with: | ||
fetch-depth: 0 | ||
|
||
- uses: conda-incubator/setup-miniconda@v3 | ||
with: | ||
auto-update-conda: true | ||
miniforge-version: "latest" | ||
miniforge-variant: Mambaforge | ||
use-mamba: true | ||
mamba-version: "*" | ||
channels: conda-forge,bioconda,defaults | ||
channel-priority: strict | ||
activate-environment: mess | ||
python-version: ${{ matrix.python-version }} | ||
auto-activate-base: false | ||
|
||
- name: "Test and generate coverage report on ${{ matrix.os }} for Python ${{ matrix.python-version }}" | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install pytest coverage | ||
python -m pip install . | ||
coverage run -m 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 |
---|---|---|
@@ -1,2 +1,18 @@ | ||
.idea/ | ||
.snakemake/ | ||
mess.egg-info/ | ||
mess/__pycache__ | ||
build/ | ||
|
||
htmlcov/ | ||
.tox/ | ||
.coverage | ||
.coverage.* | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
*,cover | ||
tests/__pycache__ | ||
.pytest_cache | ||
|
||
.snakemake | ||
mess/workflow/conda | ||
mess/workflow/taxonkit |
Oops, something went wrong.