Skip to content

API v2024-07 support #13

API v2024-07 support

API v2024-07 support #13

Workflow file for this run

name: Test package on PR, or as reusable workflow
on:
workflow_dispatch:
workflow_call:
secrets:
test_host:
required: true
test_timeout:
required: true
test_api_key:
required: true
test_api_secret:
required: true
test_order_key:
required: true
test_order_key2:
required: true
test_order_bundle:
required: true
test_order_eula:
required: true
test_order_id:
required: true
test_campaign_id:
required: true
test_dataset_id:
required: true
test_resource_id:
required: true
test_resource_file1:
required: true
test_resource_file2:
required: true
test_collection_id:
required: true
test_item_id1:
required: true
test_item_id2:
required: true
test_tasking_order_key:
required: true
test_tasking_order_key2:
required: true
test_tasking_order_eula:
required: true
test_tasking_order_bundle:
required: true
test_tasking_order_priority:
required: true
test_tasking_order_cloud:
required: true
pull_request:
types: [opened,edited,synchronize,reopened,ready_for_review,review_requested,]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- run: npm i
- run: npm test
env:
host: ${{ secrets.test_host }}
timeout: ${{ secrets.test_timeout }}
api_key: ${{ secrets.test_api_key }}
api_secret: ${{ secrets.test_api_secret }}
order_key: ${{ secrets.test_order_key }}
order_key2: ${{ secrets.test_order_key2 }}
order_bundle: ${{ secrets.test_order_bundle }}
order_eula: ${{ secrets.test_order_eula }}
order_id: ${{ secrets.test_order_id }}
campaign_id: ${{ secrets.test_campaign_id }}
dataset_id: ${{ secrets.test_dataset_id }}
resource_id: ${{ secrets.test_resource_id }}
resource_file1: ${{ secrets.test_resource_file1 }}
resource_file2: ${{ secrets.test_resource_file2 }}
collection_id: ${{ secrets.test_collection_id }}
item_id1: ${{ secrets.test_item_id1 }}
item_id2: ${{ secrets.test_item_id2 }}
tasking_order_key: ${{ secrets.test_tasking_order_key }}
tasking_order_key2: ${{ secrets.test_tasking_order_key2 }}
tasking_order_eula: ${{ secrets.test_tasking_order_eula }}
tasking_order_bundle: ${{ secrets.test_tasking_order_bundle }}
tasking_order_priority: ${{ secrets.test_tasking_order_priority }}
tasking_order_cloud: ${{ secrets.test_tasking_order_cloud }}