|
1 |
| -name: Daily Test |
| 1 | +name: Daily Integration Test |
2 | 2 |
|
3 | 3 | on:
|
4 |
| - workflow_dispatch: # run on request (no need for PR) |
| 4 | + workflow_dispatch: # Allows manual trigger |
5 | 5 | 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" |
8 | 8 |
|
9 | 9 | # Declare default permissions as read only.
|
10 | 10 | permissions: read-all
|
11 | 11 |
|
12 | 12 | 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] |
18 | 15 | strategy:
|
19 | 16 | fail-fast: false
|
20 | 17 | matrix:
|
21 | 18 | 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" |
25 | 24 | - task: "keypoint_detection"
|
| 25 | + - task: "detection" |
26 | 26 | - task: "instance_segmentation"
|
27 | 27 | - 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 |
32 | 29 | concurrency:
|
33 |
| - group: ${{ github.workflow }}-E2E-${{ github.event.pull_request.number || github.ref }}-${{ matrix.task }} |
| 30 | + group: Daily-${{ github.workflow }}-${{ github.ref }}-${{ matrix.task }} |
34 | 31 | cancel-in-progress: true
|
35 | 32 | steps:
|
36 | 33 | - name: Checkout repository
|
|
45 | 42 | pip-compile --generate-hashes --output-file=/tmp/requirements.txt --extra=ci_tox pyproject.toml
|
46 | 43 | python -m pip install --require-hashes --no-deps -r /tmp/requirements.txt
|
47 | 44 | 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 }} |
0 commit comments