Update ci-testing.yml (#12404)

* Update ci-testing.yml

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

* Delete .github/workflows/translate-readme.yml

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

---------

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
Glenn Jocher authored and GitHub committed 2023-11-20 20:50:46 +01:00
1 parent 7c54e5d23b
commit 45147c0a70
2 files changed
+4 -39

No files matched your search

+4 -13
View File
@@ -18,7 +18,7 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
python-version: [ '3.10' ] # requires python<=3.10
python-version: [ '3.11' ] # requires python<=3.10
model: [ yolov5n ]
steps:
- uses: actions/checkout@v4
@@ -30,8 +30,7 @@ jobs:
run: |
python -m pip install --upgrade pip wheel
pip install -r requirements.txt coremltools openvino-dev tensorflow-cpu --extra-index-url https://download.pytorch.org/whl/cpu
python --version
pip --version
yolo checks
pip list
- name: Benchmark DetectionModel
run: |
@@ -53,7 +52,7 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest ] # macos-latest bug https://github.com/ultralytics/yolov5/pull/9049
python-version: [ '3.10' ]
python-version: [ '3.11' ]
model: [ yolov5n ]
include:
- os: ubuntu-latest
@@ -83,15 +82,7 @@ jobs:
shell: bash # for Windows compatibility
- name: Check environment
run: |
python -c "import utils; utils.notebook_init()"
echo "RUNNER_OS is ${{ runner.os }}"
echo "GITHUB_EVENT_NAME is ${{ github.event_name }}"
echo "GITHUB_WORKFLOW is ${{ github.workflow }}"
echo "GITHUB_ACTOR is ${{ github.actor }}"
echo "GITHUB_REPOSITORY is ${{ github.repository }}"
echo "GITHUB_REPOSITORY_OWNER is ${{ github.repository_owner }}"
python --version
pip --version
yolo checks
pip list
- name: Test detection
shell: bash # for Windows compatibility