mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-05-25 11:22:21 +00:00
27 lines
622 B
YAML
27 lines
622 B
YAML
on:
|
|
pull_request_review:
|
|
types: [submitted]
|
|
push:
|
|
workflow_dispatch:
|
|
|
|
name: Integration Tests
|
|
|
|
jobs:
|
|
proxy_tests:
|
|
name: Proxy Tests
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions-rs/toolchain@v1
|
|
with:
|
|
profile: minimal
|
|
toolchain: stable
|
|
override: true
|
|
- uses: actions-rs/cargo@v1
|
|
with:
|
|
command: test
|
|
args: --no-run
|
|
- env:
|
|
SOCKS5_SERVER: ${{ secrets.SOCKS5_SERVER }}
|
|
HTTP_SERVER: ${{ secrets.HTTP_SERVER }}
|
|
run: sudo -E /home/runner/.cargo/bin/cargo test
|