docs: add SPARQL rule mining, self-evaluation, quality-adjusted gate … #62
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| env: | |
| CARGO_INCREMENTAL: 0 | |
| CARGO_PROFILE_DEV_DEBUG: 0 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Checkout open-ontologies dependency | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: fabio-rovai/open-ontologies | |
| path: open-ontologies | |
| - name: Fix dependency paths for CI | |
| run: | | |
| # Workspace crates reference ../../../open-ontologies — in CI it's at ./open-ontologies | |
| sed -i 's|path = "../../../open-ontologies"|path = "../../open-ontologies"|' crates/core/Cargo.toml | |
| sed -i 's|path = "../../../open-ontologies"|path = "../../open-ontologies"|' crates/cli/Cargo.toml | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: clippy | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Build | |
| run: cargo build --workspace | |
| - name: Test | |
| run: cargo test --workspace | |
| - name: Clippy | |
| run: cargo clippy --workspace -- -D warnings | |
| - name: Benchmark (synthetic) | |
| run: cargo run --bin brain-in-the-fish -- benchmark |