Removed opencv from actual Docker images #1731
Workflow file for this run
This file contains hidden or 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: Codestyle checks | |
| on: [ push, pull_request, workflow_dispatch ] | |
| permissions: read-all | |
| jobs: | |
| codestyle: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-24.04] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Code checkout | |
| uses: actions/checkout@v2 | |
| - name: Setting up Python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: '3.12' | |
| - name: Setting up Python dependencies | |
| if: ${{ always() }} | |
| run: python -m pip install -r requirements.txt | |
| - name: Setting up Python codestyle checks/test dependencies | |
| if: ${{ always() }} | |
| run: python -m pip install -r requirements_dev.txt | |
| - name: Running Bandit | |
| if: ${{ matrix.os == 'ubuntu-24.04' }} | |
| run: python -m bandit -r ./ -f screen -c bandit.yaml | |
| - name: Running PEP checks | |
| if: ${{ matrix.os == 'ubuntu-24.04' }} | |
| run: python -m flake8 ./ --config=setup.cfg --show-source | |
| - name: Running MyPy checks | |
| if: ${{ matrix.os == 'ubuntu-24.04' }} | |
| run: python -m mypy ./ --config-file ./setup.cfg --show-error-context --show-column-numbers --pretty | |
| - name: Running pytest (not Docker image tests) | |
| if: ${{ always() }} | |
| run: python -m pytest ./utils/tests --self-contained-html --html=utils_unittests.html | |
| - name: Collecting codestyle artifacts | |
| if: ${{ always() }} | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: codestyle_checks_${{ matrix.os }} | |
| path: | | |
| ./utils_unittests.html |