jina-ai / hub-integration

Integration test for hub

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hub-integration

  • Integration test for jina hub ...
  • it is a reusing workflow

Includes

  • Base API sanity check, e.g. user, artifact...
  • jina hub push/pull test

Base API sanity check

  • Includes
    • docarray
    • executor
    • artifact
    • user-api
    • docker-source-combine

jina hub push/pull

  • For case 1-9 (except for case4) in test-case

  • Combined test.

    Flow().add(uses='jinahub://UUID').add(uses='jinahub+docker://UUID').add(LOCAL_EXECUTOR)

How to use

on: [push]
jobs:
  hub-actions:
    uses: jina-ai/hub-integration/.github/workflows/main.yml@main
    with:
      # options includes [all, regression_test, sanity_check]
      actions: 'all' 
   
    secrets: 
      # github token for pulling hubble repo and jina repo
      extended_github_token: ${{ secrets.JINA_DEV_BOT }}
      # jina auth token and use it to run sanity_check
      jina_auth_token: ${{ secrets.JINA_AUTH_TOKEN }}

About

Integration test for hub


Languages

Language:Python 100.0%