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

Tests setup part two #3

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open
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
2 changes: 2 additions & 0 deletions .cargo/audit.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[advisories]
ignore = ["RUSTSEC-2020-0071"]
14 changes: 13 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,19 @@ jobs:
name: cargo test
with:
command: test
args: --all-targets --benches
args: --all-targets --benches -- --test-threads=1
- name: Archive lnd logs
uses: actions/upload-artifact@v3
with:
name: lnd-logs
path: |
/tmp/lnd_logs
- name: Archive ldk logs
uses: actions/upload-artifact@v3
with:
name: ldk-logs
path: |
/tmp/ldk_logs
- uses: actions-rs/cargo@v1
name: cargo fmt
with:
Expand Down
5 changes: 5 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,8 @@ cargo clippy
2. Error String: Lower case, no `.` terminating.
3. Display imps: Lower case, no `.` terminating.

### Integration tests

Note that the way the integration tests run now, it's best to run them sequentially rather than concurrently (which is Rust's default). You can run them sequentially with this command:

`cargo test -- --test-threads=1`
Loading