Skip to content

fix bug adding traffic signs in gui #452

fix bug adding traffic signs in gui

fix bug adding traffic signs in gui #452

Workflow file for this run

# This workflow will install Python dependencies, run tests with a different versions of Python and different operating systems
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Python test
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest] #, macos-latest, windows-latest] # ubuntu-latest, macos-latest, windows-latest
python-version: ["3.8", "3.9", "3.10"] #, "3.11", "3.12"]
env :
QT_QPA_PLATFORM : "offscreen"
steps :
- uses : actions/checkout@v4
- uses : FedericoCarboni/setup-ffmpeg@v2
- name : Set up Python
uses : actions/setup-python@v4
with :
python-version: ${{ matrix.python-version }}
- name: Set up QT
if : runner.os == 'Linux'
uses: tlambert03/setup-qt-libs@v1
- name : Run image
uses : abatilo/actions-poetry@v2
- name : Setup a local virtual environment
run : |
poetry config virtualenvs.create true --local
poetry config virtualenvs.in-project true --local
- name : Install dependencies
run : |
poetry install --with tests
- name : Execute tests
run : |
poetry run coverage run --source ./crdesigner -m pytest tests/
poetry run coverage report -m || true