Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
name: Check .md README files for broken links
name: "Check .md README files for broken links"

on:
push: [master]
push:
branches:
- master

jobs:
markdown-link-check:
runs-on: ubuntu-latest
# check out the latest version of the code
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Checks the status of hyperlinks in .md files in verbose mode
- name: Check links
Expand Down
32 changes: 19 additions & 13 deletions .github/workflows/test-cm-script-features.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: CM script automation features test
Expand All @@ -8,32 +7,39 @@ on:
branches: [ "master", "dev" ]
paths:
- '.github/workflows/test-cm-script-features.yml'
- 'cm-mlops/**'
- '!cm-mlops/**.md'
- '**'
- '!**.md'

jobs:
build:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.12", "3.11", "3.10", "3.9", "3.8"]

python-version: ["3.12", "3.8"]
on: [ubuntu-latest, windows-latest, macos-latest]
runs-on: "${{ matrix.on }}"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install cmind
# cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}
cm run script --quiet --tags=get,sys-utils-cm
python -m pip install --upgrade pip
pip install -r requirements.txt
python -m pip install --ignore-installed --verbose pip setuptools
cd cm
python -m pip install .
cm init
- name: Run test_docker on linux
if: runner.os == 'linux'
run: |
python tests/script/test_docker.py
- name: Test CM Script Features
run: |
python tests/script/test_deps.py
python tests/script/test_install.py
python tests/script/test_docker.py
python tests/script/test_features.py
37 changes: 0 additions & 37 deletions .github/workflows/test-cm-scripts.yml

This file was deleted.

36 changes: 0 additions & 36 deletions .github/workflows/test-cm-tutorial-retinanet.yml

This file was deleted.

59 changes: 0 additions & 59 deletions .github/workflows/test-cm-tutorial-tvm-pip.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/test-cm-tutorial-tvm.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/test-image-classification-onnx.yml

This file was deleted.

This file was deleted.

39 changes: 0 additions & 39 deletions .github/workflows/test-mlperf-inference-gptj.yml

This file was deleted.

Loading
Loading