From 582b69e48a628714b1dffd4ab64bbe584628bdd5 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Mon, 28 Mar 2022 20:06:07 -0700 Subject: [PATCH 1/4] Turn on qt debugging in CircleCI --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index f37d7e2a..262c29ba 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -55,6 +55,8 @@ jobs: - run: name: Run tests + environment: + QT_DEBUG_PLUGINS: 1 command: | cd ~/repo/desktop xvfb-run poetry run pytest -v ./tests/test_gui_*.py From 8a8901fe7e0a611450fec9aafd7f69574a6e2971 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Mon, 28 Mar 2022 20:13:14 -0700 Subject: [PATCH 2/4] Set env variable a different way --- .circleci/config.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 262c29ba..4fa9760f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -55,8 +55,6 @@ jobs: - run: name: Run tests - environment: - QT_DEBUG_PLUGINS: 1 command: | cd ~/repo/desktop - xvfb-run poetry run pytest -v ./tests/test_gui_*.py + QT_DEBUG_PLUGINS=1 xvfb-run poetry run pytest -v ./tests/test_gui_*.py From 834fbc8f6cc01d2b17840e824a3352ee6f9749d0 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Mon, 28 Mar 2022 20:20:23 -0700 Subject: [PATCH 3/4] Switch to next gen CircleCI image --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4fa9760f..8718c701 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,7 +9,7 @@ workflows: jobs: test-cli: docker: - - image: circleci/python:3.9-bullseye + - image: cimg/python:3.9-bullseye working_directory: ~/repo From ad13c2d9209c6f10bea6f10f7114759cc7aea918 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Mon, 28 Mar 2022 20:22:14 -0700 Subject: [PATCH 4/4] Actually switch to next gen CircleCI container images --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8718c701..b03c22f7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,7 +9,7 @@ workflows: jobs: test-cli: docker: - - image: cimg/python:3.9-bullseye + - image: cimg/python:3.9 working_directory: ~/repo @@ -37,7 +37,7 @@ jobs: test-gui: docker: - - image: circleci/python:3.9-bullseye + - image: cimg/python:3.9 working_directory: ~/repo