Skip to content

Commit feccc9b

Browse files
authored
Fix nightly check (#193)
* Fix nightly check * fix test
1 parent c50b133 commit feccc9b

File tree

4 files changed

+8
-10
lines changed

4 files changed

+8
-10
lines changed

Diff for: .github/workflows/tests_suite.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ defaults:
1212

1313
jobs:
1414
cleanup-runs:
15-
if: ${{ contains(github.event.pull_request.labels.*.name, 'test sources') || contains(github.event.pull_request.labels.*.name, 'test tools') }}
15+
if: ${{ contains(github.event.pull_request.labels.*.name, 'test sources') || contains(github.event.pull_request.labels.*.name, 'test tools') || github.event_name == 'schedule' }}
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: rokroskar/workflow-run-cleanup-action@master
1919
env:
2020
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
2121
test-sources:
2222
needs: cleanup-runs
23-
if: ${{ contains(github.event.pull_request.labels.*.name, 'test sources') }}
23+
if: ${{ contains(github.event.pull_request.labels.*.name, 'test sources') || github.event_name == 'schedule' }}
2424
strategy:
2525
matrix:
2626
os: [ubuntu-18.04, ubuntu-20.04, macos-10.15]
@@ -52,7 +52,7 @@ jobs:
5252
python -m unittest discover -s tests
5353
test-tools:
5454
needs: cleanup-runs
55-
if: ${{ contains(github.event.pull_request.labels.*.name, 'test tools') }}
55+
if: ${{ contains(github.event.pull_request.labels.*.name, 'test tools') || github.event_name == 'schedule' }}
5656
strategy:
5757
matrix:
5858
os: [ubuntu-20.04]
@@ -73,7 +73,7 @@ jobs:
7373
- control/mobile_manipulation
7474
- perception/object_detection_2d
7575
- simulation/human_model_generation
76-
- perception/facial_expression_recognition/landmark_based_facial_expression_recognition
76+
- perception/facial_expression_recognition
7777
- control/single_demo_grasp
7878
# - perception/object_tracking_3d
7979
include:
@@ -90,7 +90,6 @@ jobs:
9090
with:
9191
python-version: 3.8
9292
- name: Test Tools
93-
if: ${{ contains(github.event.pull_request.labels.*.name, 'test tools') }}
9493
run: |
9594
${{ matrix.DEPENDENCIES_INSTALLATION }}
9695
export OPENDR_HOME=$PWD

Diff for: .github/workflows/tests_suite_develop.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ defaults:
1010

1111
jobs:
1212
cleanup-runs:
13-
if: ${{ contains(github.event.pull_request.labels.*.name, 'test sources') || contains(github.event.pull_request.labels.*.name, 'test tools') }}
13+
if: ${{ contains(github.event.pull_request.labels.*.name, 'test sources') || contains(github.event.pull_request.labels.*.name, 'test tools') || github.event_name == 'schedule' }}
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: rokroskar/workflow-run-cleanup-action@master
1717
env:
1818
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
1919
test-sources:
2020
needs: cleanup-runs
21-
if: ${{ contains(github.event.pull_request.labels.*.name, 'test sources') }}
21+
if: ${{ contains(github.event.pull_request.labels.*.name, 'test sources') || github.event_name == 'schedule' }}
2222
strategy:
2323
matrix:
2424
os: [ubuntu-18.04, ubuntu-20.04, macos-10.15]
@@ -51,7 +51,7 @@ jobs:
5151
python -m unittest discover -s tests
5252
test-tools:
5353
needs: cleanup-runs
54-
if: ${{ contains(github.event.pull_request.labels.*.name, 'test tools') }}
54+
if: ${{ contains(github.event.pull_request.labels.*.name, 'test tools') || github.event_name == 'schedule' }}
5555
strategy:
5656
matrix:
5757
os: [ubuntu-20.04]
@@ -72,7 +72,7 @@ jobs:
7272
- control/mobile_manipulation
7373
- perception/object_detection_2d
7474
- simulation/human_model_generation
75-
- perception/facial_expression_recognition/landmark_based_facial_expression_recognition
75+
- perception/facial_expression_recognition
7676
- control/single_demo_grasp
7777
# - perception/object_tracking_3d
7878
include:
@@ -90,7 +90,6 @@ jobs:
9090
with:
9191
python-version: 3.8
9292
- name: Test Tools
93-
if: ${{ contains(github.event.pull_request.labels.*.name, 'test tools') }}
9493
run: |
9594
${{ matrix.DEPENDENCIES_INSTALLATION }}
9695
export OPENDR_HOME=$PWD

Diff for: tests/sources/tools/perception/facial_expression_recognition/__init__.py

Whitespace-only changes.

Diff for: tests/sources/tools/perception/facial_expression_recognition/landmark_based_facial_expression_recognition/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)