Skip to content

Learn more about patch #21

Learn more about patch

Learn more about patch #21

Workflow file for this run

name: Rust tests
on:
push:
branches: [ main, feature/*, bugfix/* ]
pull_request:
branches: [ main, feature/*, bugfix/* ]
env:
CARGO_TERM_COLOR: always
RUST_LOG: debug
jobs:
build_and_test:
runs-on:
group: ubuntu_runners
steps:
- uses: actions/checkout@v3
- name: Upgrade rust with nightly and pull oxigraph and dremio image
run: |
rustup update
rustup toolchain install nightly-2023-08-01
rustup default nightly-2023-08-01
docker pull oxigraph/oxigraph:v0.3.8
docker pull dremio/dremio-oss:22.0.0
- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}
- name: Build
run: cargo build --verbose --all
- name: Run rust tests
run: cargo test --verbose --all