Skip to content

Commit

Permalink
CI test
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewmturner committed Feb 3, 2025
1 parent 520dee5 commit 49e99b2
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 4 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,3 +217,31 @@ jobs:
- name: Run HuggingFace tests
run: |
cargo test --features=huggingface extension_cases::huggingface
test-udfs-wasm:
name: UDFs WASM
runs-on: ubuntu-latest
strategy:
matrix:
arch: [amd64]
rust: [stable]
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Cache Cargo
uses: actions/cache@v2
with:
path: /home/runner/.cargo
key: cargo-dft-cache-
- name: Cache Rust dependencies
uses: actions/cache@v2
with:
path: /home/runner/target
key: target-dft-cache-
- name: Setup Rust toolchain
run: |
rustup toolchain install ${{ matrix.rust }}
rustup default ${{ matrix.rust }}
- name: Run UDFs WASM tests
run: |
cargo test --features=udfs-wasm extension_cases::udfs_WASM
5 changes: 1 addition & 4 deletions tests/extension_cases/udfs_wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@

use assert_cmd::Command;

use crate::{
cli_cases::{contains_str, sql_in_file},
config::TestConfigBuilder,
};
use crate::{cli_cases::contains_str, config::TestConfigBuilder};

#[tokio::test]
async fn test_custom_config_benchmark_iterations() {
Expand Down

0 comments on commit 49e99b2

Please sign in to comment.