Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,25 @@ jobs:
( cd josh-ssh-dev-server ; go build -o "${CARGO_TARGET_DIR}/josh-ssh-dev-server" )
sh run-tests.sh --verbose tests/filter/**.t
sh run-tests.sh --verbose tests/proxy/**.t
sh run-tests.sh --verbose tests/cli/**.t
- name: Run tests (incubating)
uses: addnab/docker-run-action@v3
with:
image: josh-ci-dev:latest
options: -v ${{ github.workspace }}:/github/workspace -w /github/workspace
run: |
set -e -x
# Formatting
cargo fmt -- --check
# Unit tests
cargo test --workspace --all --features incubating
# Integration tests
cargo build --workspace --all-targets --features hyper_cgi/test-server --features incubating
( cd josh-ssh-dev-server ; go build -o "${CARGO_TARGET_DIR}/josh-ssh-dev-server" )
sh run-tests.sh --verbose tests/filter/**.t
sh run-tests.sh --verbose tests/proxy/**.t
sh run-tests.sh --verbose tests/cli/**.t
Loading