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>pull/12345/head^2
parent
7c54e5d23b
commit
45147c0a70
.github/workflows
|
@ -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
|
||||
|
|
|
@ -1,26 +0,0 @@
|
|||
# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license
|
||||
# README translation action to translate README.md to Chinese as README.zh-CN.md on any change to README.md
|
||||
|
||||
name: Translate README
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- translate_readme # replace with 'master' to enable action
|
||||
paths:
|
||||
- README.md
|
||||
|
||||
jobs:
|
||||
Translate:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 16
|
||||
# ISO Language Codes: https://cloud.google.com/translate/docs/languages
|
||||
- name: Adding README - Chinese Simplified
|
||||
uses: dephraiim/translate-readme@main
|
||||
with:
|
||||
LANG: zh-CN
|
Loading…
Reference in New Issue