Branch connection argument support #747
Workflow file for this run
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
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 |