Skip to content
This repository was archived by the owner on May 12, 2026. It is now read-only.
Draft
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
35 changes: 35 additions & 0 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
on:
push:

# Allow manually triggering of the workflow.
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false
default: false

jobs:
run-sdk-tester:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: [ 'node', 'php', 'python', 'ruby', 'dotnet', 'java' ]
steps:
- uses: actions/checkout@v3
- name: run sdk tester
env:
API_KEY: ${{ secrets.API_KEY }}
LANGUAGE: ${{ matrix.language }}
SERVER: 'api.hellosign.com'
run: |
./build ${{ matrix.language }}
pip install -U pytest
pytest -svra tests/

# Enable tmate debugging of manually-triggered workflows if the input option was provided
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
Loading