feat: added method to Tree to get a cluster by its offset and cardina… #68
Workflow file for this run
This file contains 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: Tests | |
on: | |
workflow_call: | |
push: | |
branches-ignore: | |
- main | |
- master | |
pull_request: | |
branches: | |
- main | |
- master | |
permissions: | |
contents: read | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup | Checkout | |
uses: actions/checkout@v3 | |
- name: Fetch workspace members | |
run: git submodule update --init | |
- name: Setup | Rust | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
toolchain: stable | |
components: | | |
clippy | |
rustfmt | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- uses: pre-commit/[email protected] | |
rust: | |
name: Rust | Tests | |
needs: pre-commit | |
strategy: | |
fail-fast: false | |
matrix: | |
# TODO: Add macos-latest after figuring cc linker issue for symagen in github actions | |
os: ["ubuntu-latest", "windows-latest"] # , "macos-latest" | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Fetch workspace members | |
run: git submodule update --init | |
- name: Setup | Rust | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
toolchain: stable | |
components: | | |
clippy | |
rustfmt | |
- name: Clam | Tests | |
run: cargo test --release --package abd-clam |