Skip to content

Commit

Permalink
Merge pull request #3 from intelzhongjie/main
Browse files Browse the repository at this point in the history
  • Loading branch information
wenhuizhang authored Feb 23, 2024
2 parents 37923b8 + 72f0cfc commit 6e474f5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/vmsdk-test-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,16 @@ jobs:
vmsdk_rust_test:
runs-on: [self-hosted, tdx-guest]
steps:
- name: Clean up intermediate files
continue-on-error: true
run: |
# Remove the intermediate files that could be left
# by previous run with sudo. Otherwise, the checkout
# will fail with permission issue.
sudo rm -f src/rust/cctrusted_vm/Cargo.lock
sudo rm -fr src/rust/cctrusted_vm/target
- uses: actions/checkout@v3
- name: Run tests
run: |
cd src/rust/cctrusted_vm/
cargo test --verbose
sudo bash -c "export CARGO_TERM_COLOR=always && cargo test --verbose"

0 comments on commit 6e474f5

Please sign in to comment.