re-add all the old c tests, now in Rust #5
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
on: | |
push: | |
pull_request: | |
name: "rs-valgrind" | |
jobs: | |
build: | |
name: Testing on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Load .env file | |
uses: xom9ikk/dotenv@v2 | |
with: | |
path: ./ | |
- name: Install valgrind | |
run: sudo apt update && sudo apt install -y valgrind | |
- name: Install Cargo Valgrind | |
run: | | |
cargo install cargo-valgrind | |
- name: Test Fractindex | |
run: | | |
cd core/rs/fractindex-core | |
cargo valgrind test --features=loadable_extension | |
- name: Integration Tests | |
run: | | |
cd core/rs/integration-check | |
./test.sh valgrind | |
- name: Test Core | |
run: | | |
cd core/rs/core | |
cargo test --features=loadable_extension |