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: 2 additions & 5 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,5 @@ jobs:
- name: "Use cache"
uses: Swatinem/rust-cache@v2

- name: Generate bindings and binaries
run: bash ./scripts/generate_bindings.sh

- name: Run tests
run: dart test
- name: "Build and test"
run: bash ./contrib/test.sh
10 changes: 2 additions & 8 deletions .github/workflows/javascript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,5 @@ jobs:
- name: Install wasm-bindgen
run: cargo install --locked wasm-bindgen-cli --version 0.2.108

- name: "Install dependencies"
run: npm ci

- name: Generate bindings and binaries
run: bash ./scripts/generate_bindings.sh

- name: Run tests
run: npm test
- name: "Build and test"
run: bash ./contrib/test.sh
16 changes: 2 additions & 14 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,5 @@ jobs:
version: "0.8.2"
enable-cache: true

- name: "uv sync"
run: uv sync --all-extras

- name: "Generate payjoin-ffi.py and binaries"
run: bash ./scripts/generate_bindings.sh

- name: "Build wheel"
run: uv build --wheel

- name: "Install wheel"
run: uv run pip install ./dist/*.whl

- name: "Run tests"
run: uv run python -m unittest --verbose
- name: "Build and test"
run: bash ./contrib/test.sh
10 changes: 10 additions & 0 deletions payjoin-ffi/dart/contrib/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -euo pipefail

cd "$(dirname "$0")/.."

echo "==> Generating FFI bindings..."
bash ./scripts/generate_bindings.sh

echo "==> Running dart tests..."
dart test
13 changes: 13 additions & 0 deletions payjoin-ffi/javascript/contrib/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -euo pipefail

cd "$(dirname "$0")/.."

echo "==> Installing JavaScript dependencies..."
npm ci

echo "==> Generating FFI bindings..."
bash ./scripts/generate_bindings.sh

echo "==> Running JavaScript tests..."
npm test
Loading