-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c884577
commit a1dd089
Showing
3 changed files
with
25 additions
and
13 deletions.
There are no files selected for viewing
14 changes: 12 additions & 2 deletions
14
.github/workflows/test.yml → .github/workflows/lint_build_test.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,32 @@ | ||
name: test | ||
name: build | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
test: | ||
build_proxy_server: | ||
runs-on: ubuntu-20.04-16c-64g | ||
defaults: | ||
run: | ||
working-directory: ./proxy_server | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Sanity Check | ||
run: | | ||
cat /proc/cpuinfo | ||
- name: Setup Rust | ||
uses: ./.github/actions/setup-rust | ||
with: | ||
caller-workflow-name: test | ||
|
||
- name: Clippy check | ||
run: cargo clippy --all-features --all-targets --tests -- -D warnings | ||
|
||
- name: Run tests | ||
run: | | ||
pushd proxy_server && ./run_proxy_server.sh && ./stop_proxy_server.sh && popd |
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
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