Skip to content

Rename workflow to code check. #4495

Rename workflow to code check.

Rename workflow to code check. #4495

Workflow file for this run

---
name: code check
on:
pull_request:
paths-ignore:
- "docs/**"
- "examples/**"
workflow_dispatch:
push:
branches:
- master
- main
paths-ignore:
- "docs/**"
- "examples/**"
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
# This step checks out a copy of your repository.
- uses: actions/checkout@v3
# This step references the directory that contains the action.
- uses: ./.github/actions/pre-commit
dlrover-python-test:
runs-on: ubuntu-latest
steps:
# This step checks out a copy of your repository.
- name: checkout branch
uses: actions/checkout@v3
# This step references the directory that contains the action.
- name: RUN pytest
uses: ./.github/actions/dlrover-python-test
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: intelligent-machine-learning/dlrover
operator-test:
runs-on: ubuntu-latest
steps:
# This step checks out a copy of your repository.
- uses: actions/checkout@v3
# This step references the directory that contains the action.
- name: RUN gotest
uses: ./.github/actions/operator-test
brain-test:
runs-on: ubuntu-latest
steps:
# This step checks out a copy of your repository.
- uses: actions/checkout@v3
# This step references the directory that contains the action.
- uses: ./.github/actions/brain-test
dlrover-system-test-criteo-deeprec:
runs-on: ubuntu-latest
steps:
# This step checks out a copy of your repository.
- uses: actions/checkout@v3
# This step references the directory that contains the action.
- uses: ./.github/actions/dlrover-system-test-criteo-deeprec
dlrover-system-test-deepfm:
runs-on: ubuntu-latest
steps:
# This step checks out a copy of your repository.
- uses: actions/checkout@v3
# This step references the directory that contains the action.
- uses: ./.github/actions/dlrover-system-test-deepfm
dlrover-system-test-tf2:
runs-on: ubuntu-latest
steps:
# This step checks out a copy of your repository.
- uses: actions/checkout@v3
# This step references the directory that contains the action.
- uses: ./.github/actions/dlrover-system-test-tf2