Skip to content

fix backend

fix backend #39

Workflow file for this run

name: build
on:
push:
branches: [master, "rust-v*"]
pull_request:
branches: [master, "rust-v*"]
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install minimal stable with clippy and rustfmt
uses: actions-rs/toolchain@v1
with:
profile: default
toolchain: stable
override: true
- name: Format
working-directory: ./yummy-rs
run: cargo fmt -- --check
build:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
# - macos-11
# - windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Install minimal stable with clippy and rustfmt
uses: actions-rs/toolchain@v1
with:
profile: default
toolchain: stable
override: true
- uses: Swatinem/rust-cache@v2
- name: build and lint with clippy
working-directory: ./yummy-rs
run: cargo clippy --no-default-features --tests
# - name: Check docs
# run: cargo doc --features azure,datafusion,s3,gcs,glue
- name: Check no default features
working-directory: ./yummy-rs
run: cargo check --no-default-features
test:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
# - macos-11
# - windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Install minimal stable with clippy and rustfmt
uses: actions-rs/toolchain@v1
with:
profile: default
toolchain: "1.75.0"
override: true
- uses: Swatinem/rust-cache@v2
- name: Run tests
working-directory: ./yummy-rs
run: cargo test --verbose