Implement BIP 340-342 validation (Schnorr/taproot/tapscript) #3803
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests - JellyfishSDK | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- master | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref || github.run_id }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} | |
env: | |
BUILD_VERSION: latest # Computed | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
repository: JellyfishSDK/jellyfish | |
ref: 'main' | |
- uses: actions/checkout@v4 | |
with: | |
path: defichain | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- name: Populate environment | |
run: cd defichain && GIT_VERSION=1 ./make.sh ci-export-vars | |
- name: Build and setup | |
run: "cd defichain && docker build -t test-build-container | |
-f ./contrib/dockerfiles/x86_64-pc-linux-gnu.dockerfile ." | |
- name: Run tests | |
run: | | |
npm ci | |
npm run compile | |
DEFICHAIN_DOCKER_IMAGE=test-build-container npm run ci:test -- --testTimeout=600000 |