Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modified github actions to fit new project structure #56

Merged
Merged
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
17 changes: 15 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,22 @@ jobs:
cargo build --verbose
cargo test --verbose

- name: Build and Test Sample Pop Server
- name: Build and Test Did Endpoint
run: |
cd sample-pop-server
cd did-endpoint
cargo build --verbose
cargo test --verbose

- name: Build and Test Generic Server
run: |
cd generic-server
cargo build --verbose
cargo run --bin didgen
cargo test --verbose

- name: Build and Mediator Server
run: |
cd mediator-server
cargo build --verbose
cargo run --bin didgen
cargo test --verbose
10 changes: 10 additions & 0 deletions run_test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
for dir in ./did-utils/ ./did-endpoint/ ./generic-server/ ./mediator-server/
do
cd "${dir}"
if [ -f Cargo.toml ]; then
echo "Running tests in: ${dir}"
cargo test
fi
cd ..
done