Merge pull request #12 from DataTreehouse/dependabot/cargo/rustls-0.2… #230
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
name: Rust tests | |
on: | |
push: | |
branches: [ main, feature/*, bugfix/* ] | |
pull_request: | |
branches: [ main, feature/*, bugfix/* ] | |
env: | |
CARGO_TERM_COLOR: always | |
RUST_LOG: debug | |
RUST_TOOLCHAIN: nightly-2024-10-28 | |
jobs: | |
build_and_test: | |
runs-on: | |
group: ubuntu_runners | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Upgrade rust with nightly, install build-essential, pull oxigraph and dremio image | |
run: | | |
rustup update | |
rustup toolchain install ${{ env.RUST_TOOLCHAIN }} | |
rustup default ${{ env.RUST_TOOLCHAIN }} | |
docker pull oxigraph/oxigraph:v0.3.8 | |
- name: Build | |
run: cargo build --features=opcua --verbose --all | |
- name: Run rust tests | |
run: cargo test --features=opcua --verbose --all |