refactor(taxonomy): remove legacy parser and add rollout checks
This commit is contained in:
44
.github/workflows/taxonomy-sidecar.yml
vendored
Normal file
44
.github/workflows/taxonomy-sidecar.yml
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
name: Taxonomy Sidecar
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
push:
|
||||
branches:
|
||||
- codex/**
|
||||
|
||||
concurrency:
|
||||
group: taxonomy-sidecar-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
taxonomy-sidecar:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version: "1.3.5"
|
||||
|
||||
- name: Setup Rust
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
|
||||
- name: Install dependencies
|
||||
run: bun install --frozen-lockfile
|
||||
|
||||
- name: Typecheck
|
||||
run: bun x tsc --noEmit
|
||||
|
||||
- name: Rust unit tests
|
||||
run: cargo test --manifest-path rust/Cargo.toml -p fiscal-xbrl-core
|
||||
|
||||
- name: Taxonomy tests
|
||||
run: bun test lib/server/taxonomy/engine.test.ts lib/server/financial-taxonomy.test.ts
|
||||
|
||||
- name: Build Rust sidecar
|
||||
run: cargo build --manifest-path rust/Cargo.toml -p fiscal-xbrl-cli
|
||||
Reference in New Issue
Block a user