Skip to content

Commit

Permalink
test_ci: remove python lint check and markdown check, replaced by pre…
Browse files Browse the repository at this point in the history
…-commit
  • Loading branch information
Bodong-Yang committed May 9, 2024
1 parent 1347062 commit 112e6d2
Showing 1 changed file with 1 addition and 40 deletions.
41 changes: 1 addition & 40 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,43 +46,4 @@ jobs:
uses: MishaKav/[email protected]
with:
pytest-xml-coverage-path: test_result/coverage.xml
junitxml-path: test_result/pytest.xml

python_lint_check:
runs-on: ubuntu-20.04
timeout-minutes: 3
strategy:
matrix:
python-version: [3.8]
steps:
- name: Checkout commit
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install test dependencies
run: |
python -m pip install -q --upgrade pip
python -m pip install -q -r tests/requirements.txt
- name: Lint codes without modification
run: |
$pythonLocation/bin/python -m black ./otaclient --check
- name: Lint codes for syntax check
run: |
$pythonLocation/bin/python -m flake8 ./otaclient
markdown_lint_check:
runs-on: ubuntu-20.04
timeout-minutes: 3
steps:
- name: Checkout commit
uses: actions/checkout@v3
- name: markdownlint-cli
uses: nosborn/[email protected]
with:
files: .
config_file: .markdownlint.yaml
ignore_files: .markdownlintignore
#ignore_path: examples/.markdownlintignore
#rules: examples/rules/custom.js
junitxml-path: test_result/pytest.xml

0 comments on commit 112e6d2

Please sign in to comment.