From 112e6d22ba7abe1961c02782d2da32d623d3765f Mon Sep 17 00:00:00 2001 From: Bodong Yang Date: Thu, 9 May 2024 15:43:08 +0000 Subject: [PATCH] test_ci: remove python lint check and markdown check, replaced by pre-commit --- .github/workflows/test.yaml | 41 +------------------------------------ 1 file changed, 1 insertion(+), 40 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 294043c5b..898b2c34f 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -46,43 +46,4 @@ jobs: uses: MishaKav/pytest-coverage-comment@v1.1.51 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/github-action-markdown-cli@v3.2.0 - with: - files: . - config_file: .markdownlint.yaml - ignore_files: .markdownlintignore - #ignore_path: examples/.markdownlintignore - #rules: examples/rules/custom.js + junitxml-path: test_result/pytest.xml \ No newline at end of file