Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Update datafusion requirement in the datafusion-dependencies group #19

Update datafusion requirement in the datafusion-dependencies group

Update datafusion requirement in the datafusion-dependencies group #19

Workflow file for this run

name: Basic Flow
on:
push:
branches: [master, ci_*]
paths-ignore:
- "**.md"
- "**.yaml"
pull_request:
branches: [master]
paths-ignore:
- "**.md"
- "**.yaml"
env:
CARGO_TERM_COLOR: always
# this one speeds up builds, they say
CARGO_INCREMENTAL: 0
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: rustfmt
targets: wasm32-unknown-unknown
# make cargo format to fail first
# before bringing other things, and spending time
# compiling
- name: Cargo Format Check
run: cargo fmt --all --check --
- name: Update Packages (apt-cache cache)
run: sudo apt-get update
- name: Install Required Libraries (using apt-get)
run: sudo apt-get install -y curl
- name: Install WasmEdge (using curl)
run: curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh | bash
# we use cache if format is correct
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Make Compile (Wasm)
run: make wasm
- name: Cargo Compile (with tests)
# should be faster than compiling tests again in
# test phase
# run: cargo test --no-run --locked --all-features
run: cargo test --no-run --all-features
- name: Cargo Run Tests
run: |
source $HOME/.wasmedge/env
cargo test -- --nocapture --quiet