feat: Face JSON v2 schema - add schema_version, bbox x2/y2/center, keep embeddings, update clustering
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
name: Core Test
|
||||
on:
|
||||
push:
|
||||
branches: [main, develop]
|
||||
paths: ['src/**', 'Cargo.toml']
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
lint-and-test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- name: Cargo fmt
|
||||
run: cargo fmt -- --check
|
||||
- name: Cargo clippy
|
||||
run: cargo clippy -- -D warnings
|
||||
- name: Cargo test
|
||||
run: cargo test --lib
|
||||
@@ -0,0 +1,23 @@
|
||||
name: Cross-Project Integration
|
||||
on:
|
||||
push:
|
||||
branches: [main, develop]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
integration:
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Setup Sandbox
|
||||
run: ./scripts/setup_sandbox.sh
|
||||
- name: Build All
|
||||
run: ./scripts/build_all.sh
|
||||
- name: Start Services
|
||||
run: ./scripts/start_services.sh
|
||||
- name: Run Integration Tests
|
||||
run: ./scripts/run_integration_tests.sh
|
||||
- name: Cleanup
|
||||
if: always()
|
||||
run: ./scripts/cleanup_sandbox.sh
|
||||
@@ -0,0 +1,22 @@
|
||||
name: Release
|
||||
on:
|
||||
push:
|
||||
tags: ['v*']
|
||||
|
||||
jobs:
|
||||
build-and-release:
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build Release
|
||||
run: cargo build --release
|
||||
- name: Run Full Tests
|
||||
run: cargo test
|
||||
- name: Create Release
|
||||
run: |
|
||||
cp target/release/momentry ./momentry-${{ github.ref_name }}
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: momentry-${{ github.ref_name }}
|
||||
path: momentry-${{ github.ref_name }}
|
||||
Reference in New Issue
Block a user