Skip to content

bug/7416-import-of-tkinter-module-in-child-process-crashes-otcloud-under-macos #496

bug/7416-import-of-tkinter-module-in-child-process-crashes-otcloud-under-macos

bug/7416-import-of-tkinter-module-in-child-process-crashes-otcloud-under-macos #496

Workflow file for this run

---
name: Regression Test With Pytest
on:
pull_request:
branches:
- main
workflow_call:
permissions: read-all
jobs:
regression-test:
name: Run pytest regression test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Download test data
run: |
gh release download \
--pattern 'OTCamera19_FR20_2023-05-24_06-00-00_11-45-00.zip' \
--pattern 'OTCamera19_FR20_2023-05-24_00-00-00.zip' \
-R platomo/OpenTrafficCam-testdata -D tests/data
env:
GH_TOKEN: ${{ secrets.PLATOMO_OTC_TESTDATA_ACCESS }}
- name: Unzip test data
run: |
cd tests/data
unzip ./\*.zip
rm ./*.zip
cd ..
- name: Install requirements
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Run regression tests
run: pytest ./tests/regression_otanalytics.py