Skip to content

Added lots of configuration and documentation to start the project #5

Added lots of configuration and documentation to start the project

Added lots of configuration and documentation to start the project #5

Workflow file for this run

name: Rust Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
components: clippy, rustfmt
- name: Run clippy
working-directory: ./src/Backend/opti-sql-rs
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Check formatting
working-directory: ./src/Backend/opti-sql-rs
run: cargo fmt -- --check
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
- name: Run tests
working-directory: ./src/Backend/opti-sql-rs
run: cargo test --verbose