Skip to content

Always respect EDGEDB_CLOUD_PROFILE when connecting to cloud #721

Always respect EDGEDB_CLOUD_PROFILE when connecting to cloud

Always respect EDGEDB_CLOUD_PROFILE when connecting to cloud #721

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.65, stable, beta]
timeout-minutes: 15
steps:
- uses: actions/checkout@master
- uses: edgedb/[email protected]
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust_version }}
default: true
- name: Test all features
uses: actions-rs/cargo@v1
with:
command: test
args: --workspace --all-features
- name: Check no default features
uses: actions-rs/cargo@v1
with:
command: check
args: --no-default-features --workspace
- name: Check with `fs` feature (edgedb-tokio)
uses: actions-rs/cargo@v1
with:
command: check
args: --features=fs --package edgedb-tokio
- name: Check with env feature, edgedb-tokio
uses: actions-rs/cargo@v1
with:
command: check
args: --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