Skip to content

Commit

Permalink
Update ci-testing.yml (#12404)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
glenn-jocher committed Nov 20, 2023
1 parent 7c54e5d commit 45147c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 39 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/ci-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
26 changes: 0 additions & 26 deletions .github/workflows/translate-readme.yml

This file was deleted.

0 comments on commit 45147c0

Please sign in to comment.