minor fix #261
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
name: Test | |
on: | |
workflow_dispatch: | |
push: | |
branches: ["tokio"] | |
paths-ignore: | |
- "doc/**" | |
- "resource/**" | |
- "**.md" | |
- ".github/workflows/*.yml" | |
- "**/Makefile" | |
pull_request: | |
branches: ["tokio"] | |
paths-ignore: | |
- "**.md" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test: | |
strategy: | |
matrix: | |
platform: | |
- ubuntu-20.04 | |
- macos-latest | |
- windows-latest | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: cargo build | |
- name: Run Ruci tests | |
run: cargo test --verbose --all-features | |
- name: Run Rucimp tests | |
run: cd rucimp && cargo test --verbose --features "tun quinn lua route geoip sockopt use-native-tls rustls21 trace steganography" | |
- name: Run Ruci-cmd tests | |
run: cd crates/ruci-cmd && cargo test --verbose --features "steganography lua file_server api_server api_client utils quinn use-native-tls tun smoltcp" |