Skip to content

Commit 39578b1

Browse files
authored
🔧 Update daily workflow for integration tests: Remove unused E2E and fuzzy test (#4219)
* 🛠️ Update daily workflow for integration tests and adjust schedule * 🗑️ Remove unused test files and update integration test environment * 🗑️ Remove unused test environments and tasks from tox.ini * 🗑️ Remove unused anomaly-related tasks from tests
1 parent 22b59ea commit 39578b1

File tree

15 files changed

+20
-761
lines changed

15 files changed

+20
-761
lines changed

.github/workflows/daily.yaml

Lines changed: 16 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,33 @@
1-
name: Daily Test
1+
name: Daily Integration Test
22

33
on:
4-
workflow_dispatch: # run on request (no need for PR)
4+
workflow_dispatch: # Allows manual trigger
55
schedule:
6-
# every UTC 7PM from Mon to Fri
7-
- cron: "0 19 * * 1-5"
6+
# every UTC/GMT 8PM from Mon to Fri
7+
- cron: "0 20 * * 1-5"
88

99
# Declare default permissions as read only.
1010
permissions: read-all
1111

1212
jobs:
13-
Daily-e2e-tests:
14-
runs-on: [otx-gpu-a10g-1]
15-
container:
16-
image: 219678651685.dkr.ecr.eu-west-1.amazonaws.com/ote-ci:11.7.1.2-devel-ubuntu20.04
17-
options: "--runtime=nvidia --env-file=/home/runner/.nvidia.env --ipc=host"
13+
Daily-Integration-Tests:
14+
runs-on: [otx-ci-3090-03-all]
1815
strategy:
1916
fail-fast: false
2017
matrix:
2118
include:
22-
- task: "classification"
23-
- task: "detection"
24-
- task: "rotated_detection"
19+
- task: "multi_cls_classification"
20+
- task: "multi_label_classification"
21+
- task: "hlabel_classification"
22+
- task: "visual_prompting"
23+
- task: "anomaly"
2524
- task: "keypoint_detection"
25+
- task: "detection"
2626
- task: "instance_segmentation"
2727
- task: "semantic_segmentation"
28-
- task: "visual_prompting"
29-
- task: "anomaly"
30-
name: E2E-Test-${{ matrix.task }}-py310
31-
# This is what will cancel the job concurrency
28+
name: Daily-Integration-Test-${{ matrix.task }}-py310
3229
concurrency:
33-
group: ${{ github.workflow }}-E2E-${{ github.event.pull_request.number || github.ref }}-${{ matrix.task }}
30+
group: Daily-${{ github.workflow }}-${{ github.ref }}-${{ matrix.task }}
3431
cancel-in-progress: true
3532
steps:
3633
- name: Checkout repository
@@ -45,11 +42,5 @@ jobs:
4542
pip-compile --generate-hashes --output-file=/tmp/requirements.txt --extra=ci_tox pyproject.toml
4643
python -m pip install --require-hashes --no-deps -r /tmp/requirements.txt
4744
rm /tmp/requirements.txt
48-
- name: Run E2E Test
49-
run: tox -vv -e e2e-test-${{ matrix.task }}
50-
- name: Upload test results
51-
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
52-
with:
53-
name: ${{ matrix.task }}-py310
54-
path: .tox/e2e-test-${{ matrix.task }}.csv
55-
if: ${{ always() }}
45+
- name: Run Integration Test
46+
run: tox -vv -e daily-integration-test-${{ matrix.task }}

.github/workflows/pre_merge.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,7 @@ jobs:
133133
- task: "multi_label_classification"
134134
- task: "hlabel_classification"
135135
- task: "visual_prompting"
136-
- task: "anomaly_classification"
137-
- task: "anomaly_detection"
138-
- task: "anomaly_segmentation"
136+
- task: "anomaly"
139137
- task: "keypoint_detection"
140138
name: Integration-Test-${{ matrix.task }}-py310
141139
steps:

tests/e2e/__init__.py

Lines changed: 0 additions & 2 deletions
This file was deleted.

tests/e2e/cli/__init__.py

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)