diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0e4250952..7648da177 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,7 +61,6 @@ jobs: integreation_test: name: pytest - ${{ matrix.os.on }} - ${{ matrix.python.version }} runs-on: ${{ matrix.os.on }} - needs: linters timeout-minutes: 10 strategy: fail-fast: false @@ -97,10 +96,27 @@ jobs: - name: pytest run: pytest --cov=pymodbus --cov=test --cov-report=term-missing --cov-report=xml -v --full-trace --timeout=20 + analyze: + name: Analyze Python + runs-on: ubuntu-22.04 + + steps: + - uses: actions/checkout@v3 + + - uses: github/codeql-action/init@v2 + with: + languages: python + + - uses: github/codeql-action/autobuild@v2 + + - uses: github/codeql-action/analyze@v2 + ci_complete: name: ci_complete runs-on: ubuntu-latest needs: + - linters + - analyze - integreation_test timeout-minutes: 1 steps: