Skip to content

chore: add impl From<&str> for Value #803

chore: add impl From<&str> for Value

chore: add impl From<&str> for Value #803

Workflow file for this run

on: [pull_request]
name: CI
jobs:
build_and_test:
name: Tests
runs-on: ubuntu-latest
strategy:
matrix:
rust_version: ["1.72", stable, beta]
timeout-minutes: 15
steps:
- uses: actions/checkout@master
- uses: edgedb/setup-edgedb@v1
- uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248
with:
components: "cargo,rustc,rust-std"
toolchain: ${{ matrix.rust_version }}
- name: Test all features
run: |
cargo test --workspace --all-features
- name: Check no default features
run: |
cargo check --no-default-features --workspace
- name: Check with `fs` feature (edgedb-tokio)
run: |
cargo check --features=fs --package edgedb-tokio
- name: Check with env feature, edgedb-tokio
run: |
cargo check --features=env --package edgedb-tokio
- name: Test protocol without default features
working-directory: ./edgedb-protocol
run: |
cargo test --no-default-features
- name: Test protocol with "all-types" feature
working-directory: ./edgedb-protocol
run: |
cargo test --features=all-types