-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (27 loc) · 1.24 KB
/
tests-for-fork.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
# Workflow to run tests for PRs from forked repository
name: Tests for forked repository
# Run on pull requests events from forked repository
on: [pull_request]
jobs:
test-for-fork:
# Run only for forked repository
if: github.event.pull_request.head.repo.full_name != github.repository
strategy:
fail-fast: false
matrix:
include:
- name: cloud-server-debug
tag: ghcr.io/iotivity/iotivity-lite/cloud-server-debug:vnext
- name: cloud-server-debug-sha384
tag: ghcr.io/iotivity/iotivity-lite/cloud-server-debug:vnext
test-args: CERT_TOOL_SIGN_ALG=ECDSA-SHA384 CERT_TOOL_ELLIPTIC_CURVE=P384
- name: cloud-server-discovery-resource-observable-debug
tag: ghcr.io/iotivity/iotivity-lite/cloud-server-discovery-resource-observable-debug:vnext
- name: cloud-server-discovery-resource-observable-debug-384
tag: ghcr.io/iotivity/iotivity-lite/cloud-server-discovery-resource-observable-debug:vnext
test-args: CERT_TOOL_SIGN_ALG=ECDSA-SHA384 CERT_TOOL_ELLIPTIC_CURVE=P384
uses: ./.github/workflows/test-with-cfg.yml
with:
name: ${{ matrix.name }}
tag: ${{ matrix.tag }}
test-args: ${{ matrix.test-args }}