[CI][Bugfix] Refine ci tests and revert many-to-many migration commit to avoid ci tests failure #457
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pylint | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
cancel_previous_workflows: | |
runs-on: ubuntu-latest | |
timeout-minutes: 3 | |
steps: | |
- uses: styfle/cancel-workflow-action@0.12.1 | |
with: | |
all_but_latest: true | |
pylint_test: | |
needs: cancel_previous_workflows | |
runs-on: [self-hosted] | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Analysing the code with pylint | |
run: | | |
nvidia-docker run --rm -t --net host --ipc host \ | |
-v ${PWD}:/workspace \ | |
-w /workspace \ | |
registry.cn-beijing.aliyuncs.com/llumnix/llumnix-dev:20240909_action_678a439 \ | |
bash -c "pip install -e . > /dev/null && make lint" |