Skip to content

Add cuml

Add cuml #396

Workflow file for this run

name: Test PR
on: [pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: psf/black@stable
test:
runs-on: ubuntu-latest
container:
image: quay.io/qiime2/core:2023.2
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install ".[dev]"
- name: Test with pytest
run: |
flake8 hitac tests
pydocstyle hitac
pytest -v --cov=hitac --cov-fail-under=70 --cov-report html
coverage xml
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v2
# bump:
# needs: test
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# with:
# fetch-depth: '0'
# - name: Bump version and push tag
# id: tag
# uses: anothrNick/github-tag-action@1.36.0
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# WITH_V: false
# DEFAULT_BUMP: patch
# outputs:
# new_tag: ${{steps.tag.outputs.new_tag}}
#
# pypi:
# needs: bump
# name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v1
# - name: Set up Python 3.8
# uses: actions/setup-python@v2
# with:
# python-version: 3.8
# - name: Install pypa/build
# run: |
# git fetch --tags
# git branch --create-reflog main origin/main
# python -m pip install build --user .
# - name: Build a binary wheel and a source tarball
# run: |
# python -m build --sdist --wheel --outdir dist/ .
# - name: Publish distribution 📦 to PyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# user: __token__
# password: ${{ secrets.PYPI_API_TOKEN }}
# verbose: true
docker:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# container: [blca, btop, usearch, hitac, knn, spingo, rdp, microclass, pandas, metaxa2]
# container: [hitac_qiime, hitac_standalone]
container: [cuda]
steps:
- uses: actions/checkout@v3
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: mirand863/${{ matrix.container }}
tags: |
type=raw,value=11.2.2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
file: benchmark/dockerfiles/${{ matrix.container }}.dockerfile
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}