Daily Test #71
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Daily Test | |
on: | |
workflow_dispatch: # run on request (no need for PR) | |
schedule: | |
# every UTC 7PM from Mon to Fri | |
- cron: "0 19 * * 1-5" | |
# Declare default permissions as read only. | |
permissions: read-all | |
jobs: | |
Daily-e2e-tests: | |
runs-on: [otx-gpu-a10g-1] | |
container: | |
image: 219678651685.dkr.ecr.eu-west-1.amazonaws.com/ote-ci:11.7.1.2-devel-ubuntu20.04 | |
options: "--runtime=nvidia --env-file=/home/runner/.nvidia.env --ipc=host" | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- task: "action" | |
- task: "classification" | |
- task: "detection" | |
- task: "rotated_detection" | |
- task: "keypoint_detection" | |
- task: "instance_segmentation" | |
- task: "semantic_segmentation" | |
- task: "visual_prompting" | |
- task: "anomaly" | |
name: E2E-Test-${{ matrix.task }}-py310 | |
# This is what will cancel the job concurrency | |
concurrency: | |
group: ${{ github.workflow }}-E2E-${{ github.event.pull_request.number || github.ref }}-${{ matrix.task }} | |
cancel-in-progress: true | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Install Python | |
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 | |
with: | |
python-version: "3.10" | |
- name: Install tox | |
run: | | |
python -m pip install --require-hashes --no-deps -r .ci/requirements.txt | |
pip-compile --generate-hashes --output-file=/tmp/requirements.txt --extra=ci_tox pyproject.toml | |
python -m pip install --require-hashes --no-deps -r /tmp/requirements.txt | |
rm /tmp/requirements.txt | |
- name: Run E2E Test | |
run: tox -vv -e e2e-test-${{ matrix.task }} | |
- name: Upload test results | |
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 | |
with: | |
name: ${{ matrix.task }}-py310 | |
path: .tox/e2e-test-${{ matrix.task }}.csv | |
if: ${{ always() }} |