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

fix(acc-packet): fixing some bugs and adding automated tests to sn_cli::AccountPacket #1414

Merged
merged 8 commits into from
Mar 13, 2024
9 changes: 8 additions & 1 deletion .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:

- name: Run CLI tests
timeout-minutes: 25
run: cargo test --release --package sn_cli
run: cargo test --release --package sn_cli -- --skip test_acc_packet_

- name: Run client tests
timeout-minutes: 25
Expand Down Expand Up @@ -399,6 +399,13 @@ jobs:
SN_LOG: "all"
timeout-minutes: 10

# CLI Acc-Packet files and folders tests against local network
- name: CLI Acc-Packet files and folders tests
run: cargo test --release -p sn_cli test_acc_packet -- --nocapture
env:
SN_LOG: "all"
timeout-minutes: 10

- name: Start a client to create a register writable by the owner only
run: cargo run --bin safe --release -- --log-output-dest=data-dir register create -n baobao
env:
Expand Down
20 changes: 18 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,20 @@ jobs:
SN_LOG: "all"
timeout-minutes: 2

# Client FoldersApi tests against local network
- name: Client FoldersApi tests against local network
run: cargo test --release --package sn_client --test folders_api
env:
SN_LOG: "all"
timeout-minutes: 10

# CLI Acc-Packet files and folders tests against local network
- name: CLI Acc-Packet files and folders tests
run: cargo test --release -p sn_cli test_acc_packet -- --nocapture
env:
SN_LOG: "all"
timeout-minutes: 10

- name: Start a client to create a register
run: cargo run --bin safe --release -- --log-output-dest=data-dir register create -n baobao
env:
Expand Down Expand Up @@ -112,11 +126,13 @@ jobs:

- name: Run CLI tests
timeout-minutes: 25
run: cargo test --release --package sn_cli
run: cargo test --release --package sn_cli -- --skip test_acc_packet_

- name: Run client tests
timeout-minutes: 25
run: cargo test --release --package sn_client
run: |
cargo test --release --package sn_client --lib
cargo test --release --package sn_client --doc
- name: Run network tests
timeout-minutes: 25
Expand Down
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.