-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
36 lines (36 loc) · 1.14 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Assert Tables
description: Asserts the presence of tables in a Deephaven server
inputs:
table-names:
description: A string containing a comma separated list of table names to check
required: true
host:
description: The host name or IP address of the Deephaven instance
required: true
port:
description: The port to access on the host.
required: false
default: 10000
session-type:
description: The Deephaven session type
required: false
default: python
max-retries:
description: The maximum attempts to retry connecting to Deephaven
required: false
default: 5
runs:
using: composite
steps:
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Setup environment
run: |
pip install --upgrade pip
pip install -r ${{ github.action_path }}/assert-tables/requirements.txt
shell: sh
- name: Assert tables
run: python ${{ github.action_path }}/assert-tables/assert_tables.py ${{ inputs.table-names }} ${{ inputs.host }} ${{ inputs.port }} ${{ inputs.session-type }} ${{ inputs.max-retries }}
shell: sh