Skip to content
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
7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
~/.cargo/registry
~/.cargo/git
rust-dlc-cli/target
key: ${{ runner.os }}-cargo-${{ hashFiles('rust-dlc-cli/Cargo.lock') }}
key: ${{ runner.os }}-cargo-${{ hashFiles('rust-dlc-cli/Cargo.lock') }}-git-deps
restore-keys: |
${{ runner.os }}-cargo-

Expand All @@ -67,11 +67,14 @@ jobs:
if [ -d "rust-dlc-cli" ]; then
echo "Building rust-dlc-cli for compatibility tests..."
cd rust-dlc-cli
# Pre-fetch git dependencies to avoid network timeouts during tests
cargo fetch
cargo build --release
else
echo "rust-dlc-cli directory not found, skipping Rust CLI build"
fi
timeout-minutes: 10
timeout-minutes: 15

- name: Run tests
run: yarn test
timeout-minutes: 30
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,5 @@ rust-dlc-cli/temp_*.txt
rust-dlc-cli/clean_*.txt
rust-dlc-cli/correct_*.txt
rust-dlc-cli/expected_*.hex
# Backup directories
packages/messaging/test_vectors/dlcspecs_backup_*/
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"bootstrap:ci": "lerna bootstrap --hoist",
"new:version": "lerna version --no-push --no-git-tag-version && lerna clean --yes && lerna bootstrap",
"publish:all": "lerna publish from-package",
"prepublishOnly": "npm run build"
"prepublishOnly": "npm run build",
"update-dlcspecs-vectors": "./scripts/update-dlcspecs-vectors.sh"
},
"pre-commit": [
"lint"
Expand Down
Loading
Loading