-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test_ci: remove python lint check and markdown check, replaced by pre…
…-commit
- Loading branch information
1 parent
1347062
commit 112e6d2
Showing
1 changed file
with
1 addition
and
40 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |