File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 - name : " Use cache"
3636 uses : Swatinem/rust-cache@v2
3737
38- - name : Generate bindings and binaries
39- run : bash ./scripts/generate_bindings.sh
40-
41- - name : Run tests
42- run : dart test
38+ - name : " Build and test"
39+ run : bash ./contrib/test.sh
Original file line number Diff line number Diff line change 4141 - name : Install wasm-bindgen
4242 run : cargo install --locked wasm-bindgen-cli --version 0.2.108
4343
44- - name : " Install dependencies"
45- run : npm ci
46-
47- - name : Generate bindings and binaries
48- run : bash ./scripts/generate_bindings.sh
49-
50- - name : Run tests
51- run : npm test
44+ - name : " Build and test"
45+ run : bash ./contrib/test.sh
Original file line number Diff line number Diff line change 4141 version : " 0.8.2"
4242 enable-cache : true
4343
44- - name : " uv sync"
45- run : uv sync --all-extras
46-
47- - name : " Generate payjoin-ffi.py and binaries"
48- run : bash ./scripts/generate_bindings.sh
49-
50- - name : " Build wheel"
51- run : uv build --wheel
52-
53- - name : " Install wheel"
54- run : uv run pip install ./dist/*.whl
55-
56- - name : " Run tests"
57- run : uv run python -m unittest --verbose
44+ - name : " Build and test"
45+ run : bash ./contrib/test.sh
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ set -euo pipefail
3+
4+ cd " $( dirname " $0 " ) /.."
5+
6+ echo " ==> Generating FFI bindings..."
7+ bash ./scripts/generate_bindings.sh
8+
9+ echo " ==> Running dart tests..."
10+ dart test
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ set -euo pipefail
3+
4+ cd " $( dirname " $0 " ) /.."
5+
6+ echo " ==> Installing JavaScript dependencies..."
7+ npm ci
8+
9+ echo " ==> Generating FFI bindings..."
10+ bash ./scripts/generate_bindings.sh
11+
12+ echo " ==> Running JavaScript tests..."
13+ npm test
You can’t perform that action at this time.
0 commit comments