Skip to content

fix: test is sync and send #35

fix: test is sync and send

fix: test is sync and send #35

Workflow file for this run

name: Linux
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt update && sudo apt install -y libssh2-1-dev libssl-dev
- name: Setup containers
run: docker compose -f "tests/docker-compose.yml" up -d --build
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy
- name: Run tests (native-tls)
uses: actions-rs/cargo@v1
with:
command: test
args: --no-default-features --features find,native-tls,github-actions,with-containers --no-fail-fast
env:
RUST_LOG: trace
- name: Run tests (rustls)
uses: actions-rs/cargo@v1
with:
command: test
args: --no-default-features --features find,rustls,github-actions,with-containers --no-fail-fast
env:
RUST_LOG: trace
- name: Format
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy -- -Dwarnings