Skip to content

Add task-keyed LDF records and LoaderOutput conversion #857

Add task-keyed LDF records and LoaderOutput conversion

Add task-keyed LDF records and LoaderOutput conversion #857

Workflow file for this run

name: Compatibility BOM Tests
on:
workflow_dispatch:
inputs:
ml_ref:
description: "luxonis-ml version (branch/tag/SHA)"
required: true
type: string
default: main
train_ref:
description: "luxonis-train version (branch/tag/SHA)"
required: true
type: string
default: main
modelconv_ref:
description: "modelconverter version (branch/tag/SHA)"
required: true
type: string
default: main
tools_ref:
description: "luxonis-tools version (branch/tag/SHA)"
required: true
type: string
default: main
datadreamer_ref:
description: "datadreamer version (branch/tag/SHA)"
required: true
type: string
default: main
run_train:
description: "Run Luxonis Train tests"
required: false
type: boolean
default: true
run_modelconv:
description: "Run Modelconverter tests"
required: false
type: boolean
default: true
run_tools:
description: "Run Luxonis Tools tests"
required: false
type: boolean
default: true
run_datadreamer:
description: "Run Datadreamer tests"
required: false
type: boolean
default: true
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
test-luxonis-train:
name: Test Luxonis Train
if: >-
(github.event_name == 'workflow_dispatch' && inputs.run_train) ||
(github.event_name == 'pull_request' &&
startsWith(github.head_ref, 'release/') &&
github.event.pull_request.base.ref == 'main')
uses: Luxonis/luxonis-train/.github/workflows/ci.yaml@321360a08a5485171b0a376a2f766cb89ae688fe
with:
concurrency_group: bom-${{ github.workflow }}-${{ github.ref }}
cancel_in_progress: true
ml_ref: ${{ github.event_name == 'workflow_dispatch' && inputs.ml_ref || github.head_ref }}
train_ref: ${{ github.event_name == 'workflow_dispatch' && inputs.train_ref || 'main' }}
secrets:
GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.GCP_CREDENTIALS }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
HUBAI_API_KEY: ${{ secrets.HUBAI_API_KEY }}
test-modelconverter:
name: Test Modelconverter
if: >-
(github.event_name == 'workflow_dispatch' && inputs.run_modelconv) ||
(github.event_name == 'pull_request' &&
startsWith(github.head_ref, 'release/') &&
github.event.pull_request.base.ref == 'main')
uses: Luxonis/modelconverter/.github/workflows/ci.yaml@7baabc4958565cc93bca43f1a53c5bfc6ca419b4
with:
ml_ref: ${{ github.event_name == 'workflow_dispatch' && inputs.ml_ref || github.head_ref }}
modelconv_ref: ${{ github.event_name == 'workflow_dispatch' && inputs.modelconv_ref || 'main' }}
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_S3_ENDPOINT_URL: ${{ secrets.AWS_S3_ENDPOINT_URL }}
GCP_CREDENTIALS: ${{ secrets.GCP_CREDENTIALS }}
HUBAI_API_KEY: ${{ secrets.HUBAI_API_KEY }}
test-luxonis-tools:
name: Test Luxonis Tools
if: >-
(github.event_name == 'workflow_dispatch' && inputs.run_tools) ||
(github.event_name == 'pull_request' &&
startsWith(github.head_ref, 'release/') &&
github.event.pull_request.base.ref == 'main')
uses: Luxonis/tools/.github/workflows/unittests.yaml@34f340a0c1025e9c793db17f6336fb9e97244b6f
with:
ml_ref: ${{ github.event_name == 'workflow_dispatch' && inputs.ml_ref || github.head_ref }}
tools_ref: ${{ github.event_name == 'workflow_dispatch' && inputs.tools_ref || 'main' }}
test-datadreamer:
name: Test Datadreamer
if: >-
(github.event_name == 'workflow_dispatch' && inputs.run_datadreamer) ||
(github.event_name == 'pull_request' &&
startsWith(github.head_ref, 'release/') &&
github.event.pull_request.base.ref == 'main')
uses: Luxonis/datadreamer/.github/workflows/unit-tests.yaml@2156d0d899eda304c8746c5394a70a1af8584e0f
with:
ml_ref: ${{ github.event_name == 'workflow_dispatch' && inputs.ml_ref || github.head_ref }}
datadreamer_ref: ${{ github.event_name == 'workflow_dispatch' && inputs.datadreamer_ref || 'main' }}