You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- name: pylint
-
- on: [push]
-
- jobs:
- pyqt5:
- runs-on: ubuntu-24.04
- name: pyqt5
- steps:
- - uses: actions/checkout@v3
- - name: Install deps
- run: |
- sudo apt install -yqq pyqt5-dev-tools python3-pyqt5 python3-pyqt5.qtsvg python3-virtualenv
- virtualenv carla-env
- source carla-env/bin/activate
- pip3 install pylint pyqt5
- - name: Build frontend
- run: |
- make FRONTEND_TYPE=5 frontend -j $(nproc)
- - name: Run pylint
- run: |
- virtualenv carla-env
- source carla-env/bin/activate
- pylint -E --extension-pkg-whitelist=PyQt5 source/frontend/carla_app.py
- pylint -E --extension-pkg-whitelist=PyQt5 source/frontend/carla_backend.py
- pylint -E --extension-pkg-whitelist=PyQt5 source/frontend/carla_shared.py
- pylint -E --extension-pkg-whitelist=PyQt5 source/frontend/carla_utils.py
-
- pyqt6:
- runs-on: ubuntu-24.04
- name: pyqt6
- steps:
- - uses: actions/checkout@v3
- - name: Install deps
- run: |
- sudo apt install -yqq pyqt6-dev-tools python3-pyqt6 python3-pyqt6.qtsvg python3-virtualenv
- virtualenv carla-env
- source carla-env/bin/activate
- pip3 install pylint pyqt6
- - name: Build frontend
- run: |
- make FRONTEND_TYPE=6 frontend -j $(nproc)
- - name: Run pylint
- run: |
- virtualenv carla-env
- source carla-env/bin/activate
- pylint -E --extension-pkg-whitelist=PyQt6 source/frontend/carla_app.py
- pylint -E --extension-pkg-whitelist=PyQt6 source/frontend/carla_backend.py
- pylint -E --extension-pkg-whitelist=PyQt6 source/frontend/carla_shared.py
- pylint -E --extension-pkg-whitelist=PyQt6 source/frontend/carla_utils.py
|