Skip to content

Commit

Permalink
[OIS] Restore testing steps in the CI workflow
Browse files Browse the repository at this point in the history
Adjust timeouts for job and steps.

Signed-off-by: ATmobica <[email protected]>
  • Loading branch information
ATmobica committed May 10, 2023
1 parent d1b17a3 commit 4c7b9c9
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/examples-openiotsdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ concurrency:
jobs:
openiotsdk:
name: Open IoT SDK examples building
timeout-minutes: 140
timeout-minutes: 90

env:
TEST_NETWORK_NAME: OIStest
Expand Down Expand Up @@ -103,24 +103,21 @@ jobs:
scripts/examples/openiotsdk_example.sh unit-tests
- name: "Test: shell example"
# Temporarily disable test due to performance issue with FVP
if: false #steps.build_shell.outcome == 'success'
if: steps.build_shell.outcome == 'success'
timeout-minutes: 5
run: |
scripts/examples/openiotsdk_example.sh -C test shell
- name: "Test: lock-app example"
# Temporarily disable test due to performance issue with FVP
if: false #steps.build_lock_app.outcome == 'success'
if: steps.build_lock_app.outcome == 'success'
timeout-minutes: 5
run: |
scripts/setup/openiotsdk/network_setup.sh -n $TEST_NETWORK_NAME up
scripts/run_in_ns.sh ${TEST_NETWORK_NAME}ns scripts/examples/openiotsdk_example.sh -C test -n ${TEST_NETWORK_NAME}tap lock-app
scripts/setup/openiotsdk/network_setup.sh -n $TEST_NETWORK_NAME down
- name: "Test: unit-tests"
# Temporarily disable test due to performance issue with FVP
if: false #steps.build_unit_tests.outcome == 'success' && github.event_name == 'pull_request'
if: steps.build_unit_tests.outcome == 'success'
timeout-minutes: 40
run: |
scripts/examples/openiotsdk_example.sh -C test unit-tests

0 comments on commit 4c7b9c9

Please sign in to comment.