From 07b973b7dcd69d9c81767643702ec5b7f6acaf65 Mon Sep 17 00:00:00 2001 From: Virgil <28490646+sisoe24@users.noreply.github.com> Date: Sun, 18 Aug 2024 12:14:48 -0400 Subject: [PATCH 01/25] Update github_tests_actions.yml --- .github/workflows/github_tests_actions.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/github_tests_actions.yml b/.github/workflows/github_tests_actions.yml index 6273384c..3074222d 100644 --- a/.github/workflows/github_tests_actions.yml +++ b/.github/workflows/github_tests_actions.yml @@ -14,8 +14,9 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [macos-latest, windows-latest] + os: [macos-12, windows-latest] python-version: ["3.7", "3.9", "3.10"] + fail-fast: false steps: - name: Checkout repository From 06174938624e327db93e323a25ca929da7f16faf Mon Sep 17 00:00:00 2001 From: Virgil <28490646+sisoe24@users.noreply.github.com> Date: Sun, 18 Aug 2024 12:42:23 -0400 Subject: [PATCH 02/25] Update github_tests_actions.yml --- .github/workflows/github_tests_actions.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/github_tests_actions.yml b/.github/workflows/github_tests_actions.yml index 3074222d..036d2500 100644 --- a/.github/workflows/github_tests_actions.yml +++ b/.github/workflows/github_tests_actions.yml @@ -1,14 +1,13 @@ name: NukeServerSocket on: pull_request: + branches: + - 'main' push: branches: - - 'develop' + - 'main' - 'release/**' -permissions: - contents: read - jobs: test: runs-on: ${{ matrix.os }} @@ -20,10 +19,10 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} From ca323c1f1fb417a7f6123a40700ce81523c4c699 Mon Sep 17 00:00:00 2001 From: Virgil <28490646+sisoe24@users.noreply.github.com> Date: Sun, 18 Aug 2024 13:13:47 -0400 Subject: [PATCH 03/25] Update github_tests_actions.yml --- .github/workflows/github_tests_actions.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/github_tests_actions.yml b/.github/workflows/github_tests_actions.yml index 036d2500..13da4ea1 100644 --- a/.github/workflows/github_tests_actions.yml +++ b/.github/workflows/github_tests_actions.yml @@ -1,12 +1,9 @@ name: NukeServerSocket on: - pull_request: - branches: - - 'main' push: - branches: - - 'main' - - 'release/**' + branches: [ main ] + pull_request: + branches: [ main ] jobs: test: From 76a8bde49fb0c2b5d8e864a72d42fe32bb9968c1 Mon Sep 17 00:00:00 2001 From: Virgil <28490646+sisoe24@users.noreply.github.com> Date: Sun, 18 Aug 2024 13:17:55 -0400 Subject: [PATCH 04/25] Update github_tests_actions.yml --- .github/workflows/github_tests_actions.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/github_tests_actions.yml b/.github/workflows/github_tests_actions.yml index 13da4ea1..a642be9d 100644 --- a/.github/workflows/github_tests_actions.yml +++ b/.github/workflows/github_tests_actions.yml @@ -1,10 +1,14 @@ name: NukeServerSocket on: push: - branches: [ main ] + branches: + - main pull_request: - branches: [ main ] - + branches: + - main + pull_request_target: + branches: + - main jobs: test: runs-on: ${{ matrix.os }} From 27c92209f5d0a4332a380a523ef3465564549796 Mon Sep 17 00:00:00 2001 From: Virgil <28490646+sisoe24@users.noreply.github.com> Date: Sun, 18 Aug 2024 13:19:11 -0400 Subject: [PATCH 05/25] Update github_tests_actions.yml --- .github/workflows/github_tests_actions.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/github_tests_actions.yml b/.github/workflows/github_tests_actions.yml index a642be9d..4c423481 100644 --- a/.github/workflows/github_tests_actions.yml +++ b/.github/workflows/github_tests_actions.yml @@ -1,14 +1,10 @@ name: NukeServerSocket on: - push: - branches: - - main pull_request: + push: branches: - - main - pull_request_target: - branches: - - main + - 'develop' + - 'release/**' jobs: test: runs-on: ${{ matrix.os }} From 3cc969000c778e9a56210a748da7b722388da3b1 Mon Sep 17 00:00:00 2001 From: Virgil <28490646+sisoe24@users.noreply.github.com> Date: Sun, 18 Aug 2024 13:28:07 -0400 Subject: [PATCH 06/25] Update github_tests_actions.yml --- .github/workflows/github_tests_actions.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/github_tests_actions.yml b/.github/workflows/github_tests_actions.yml index 4c423481..a399636e 100644 --- a/.github/workflows/github_tests_actions.yml +++ b/.github/workflows/github_tests_actions.yml @@ -1,10 +1,14 @@ name: NukeServerSocket on: - pull_request: push: branches: - - 'develop' - - 'release/**' + - main + pull_request: + branches: + - main + pull_request_target: + branches: + - main jobs: test: runs-on: ${{ matrix.os }} @@ -19,7 +23,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - - uses: actions/setup-python@v5 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} From 49c64f315be47f59f84aa04b0870f5bde768a611 Mon Sep 17 00:00:00 2001 From: Virgil <28490646+sisoe24@users.noreply.github.com> Date: Sun, 18 Aug 2024 13:30:22 -0400 Subject: [PATCH 07/25] Update github_tests_actions.yml --- .github/workflows/github_tests_actions.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/github_tests_actions.yml b/.github/workflows/github_tests_actions.yml index a399636e..918612b8 100644 --- a/.github/workflows/github_tests_actions.yml +++ b/.github/workflows/github_tests_actions.yml @@ -35,6 +35,7 @@ jobs: - name: Install dependencies run: | poetry install + pip install -e . - name: Run tests run: | From bb4a45dd95dbb2fee3ca38052e3e761aca8b61ca Mon Sep 17 00:00:00 2001 From: Virgil <28490646+sisoe24@users.noreply.github.com> Date: Sun, 18 Aug 2024 13:33:04 -0400 Subject: [PATCH 08/25] Update github_tests_actions.yml --- .github/workflows/github_tests_actions.yml | 28 ++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github_tests_actions.yml b/.github/workflows/github_tests_actions.yml index 918612b8..bf52432b 100644 --- a/.github/workflows/github_tests_actions.yml +++ b/.github/workflows/github_tests_actions.yml @@ -36,7 +36,31 @@ jobs: run: | poetry install pip install -e . - + + - name: Debug Information (Post-install) + run: | + echo "Python version: $(python --version)" + echo "Pip version: $(pip --version)" + echo "Poetry version: $(poetry --version)" + echo "Installed packages:" + pip list + echo "Python path:" + python -c "import sys; print(sys.path)" + echo "Can we import nukeserversocket?" + python -c "import nukeserversocket; print('Success!')" + - name: Run tests run: | - poetry run pytest + pytest -v + + - name: Debug on failure + if: failure() + run: | + echo "Test failure occurred. Debugging information:" + echo "Current directory: $(pwd)" + echo "Directory contents:" + ls -R + echo "Python path:" + python -c "import sys; print(sys.path)" + echo "Content of site-packages:" + ls $(python -c "import site; print(site.getsitepackages()[0])") From e6feee530289028c7d7258f2987d43649b620910 Mon Sep 17 00:00:00 2001 From: Virgil <28490646+sisoe24@users.noreply.github.com> Date: Sun, 18 Aug 2024 13:51:18 -0400 Subject: [PATCH 09/25] Update github_tests_actions.yml --- .github/workflows/github_tests_actions.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/github_tests_actions.yml b/.github/workflows/github_tests_actions.yml index bf52432b..20e8cc44 100644 --- a/.github/workflows/github_tests_actions.yml +++ b/.github/workflows/github_tests_actions.yml @@ -34,6 +34,7 @@ jobs: - name: Install dependencies run: | + poetry config virtualenvs.in-project true poetry install pip install -e . From 81ff5e0426c148d7881855ece363a42c0fc9bf32 Mon Sep 17 00:00:00 2001 From: Virgil <28490646+sisoe24@users.noreply.github.com> Date: Sun, 18 Aug 2024 13:53:19 -0400 Subject: [PATCH 10/25] Update github_tests_actions.yml --- .github/workflows/github_tests_actions.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/github_tests_actions.yml b/.github/workflows/github_tests_actions.yml index 20e8cc44..686e940a 100644 --- a/.github/workflows/github_tests_actions.yml +++ b/.github/workflows/github_tests_actions.yml @@ -46,9 +46,9 @@ jobs: echo "Installed packages:" pip list echo "Python path:" - python -c "import sys; print(sys.path)" + poetry run python -c "import sys; print(sys.path)" echo "Can we import nukeserversocket?" - python -c "import nukeserversocket; print('Success!')" + poetry run python -c "import nukeserversocket; print('Success!')" - name: Run tests run: | @@ -62,6 +62,6 @@ jobs: echo "Directory contents:" ls -R echo "Python path:" - python -c "import sys; print(sys.path)" + poetry run python -c "import sys; print(sys.path)" echo "Content of site-packages:" - ls $(python -c "import site; print(site.getsitepackages()[0])") + ls $(poetry run python -c "import site; print(site.getsitepackages()[0])") From db3757490ffa5552c6a371a9c0dafaf2b5b97276 Mon Sep 17 00:00:00 2001 From: Virgil <28490646+sisoe24@users.noreply.github.com> Date: Sun, 18 Aug 2024 13:54:36 -0400 Subject: [PATCH 11/25] Update github_tests_actions.yml --- .github/workflows/github_tests_actions.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github_tests_actions.yml b/.github/workflows/github_tests_actions.yml index 686e940a..3fdba7ce 100644 --- a/.github/workflows/github_tests_actions.yml +++ b/.github/workflows/github_tests_actions.yml @@ -1,4 +1,4 @@ -name: NukeServerSocket +rname: NukeServerSocket on: push: branches: @@ -52,7 +52,7 @@ jobs: - name: Run tests run: | - pytest -v + poetry run pytest -v - name: Debug on failure if: failure() From 0d973f97dc175448fa7c5eda49b1c6a1c473d628 Mon Sep 17 00:00:00 2001 From: Virgil <28490646+sisoe24@users.noreply.github.com> Date: Sun, 18 Aug 2024 13:55:08 -0400 Subject: [PATCH 12/25] Update github_tests_actions.yml --- .github/workflows/github_tests_actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/github_tests_actions.yml b/.github/workflows/github_tests_actions.yml index 3fdba7ce..479fe1d5 100644 --- a/.github/workflows/github_tests_actions.yml +++ b/.github/workflows/github_tests_actions.yml @@ -1,4 +1,4 @@ -rname: NukeServerSocket +name: NukeServerSocket on: push: branches: From d771bd13abba4f3eb4b81dcd53f1c61753e396b5 Mon Sep 17 00:00:00 2001 From: Virgil <28490646+sisoe24@users.noreply.github.com> Date: Sun, 18 Aug 2024 14:00:55 -0400 Subject: [PATCH 13/25] Update github_tests_actions.yml --- .github/workflows/github_tests_actions.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/github_tests_actions.yml b/.github/workflows/github_tests_actions.yml index 479fe1d5..b15690b4 100644 --- a/.github/workflows/github_tests_actions.yml +++ b/.github/workflows/github_tests_actions.yml @@ -52,6 +52,9 @@ jobs: - name: Run tests run: | + echo "Which poetry" + which poetry + poetry run which pytest poetry run pytest -v - name: Debug on failure From 2eccb438109bfd58b6d40e99f3d1b955cef9914f Mon Sep 17 00:00:00 2001 From: Virgil <28490646+sisoe24@users.noreply.github.com> Date: Sun, 18 Aug 2024 14:10:24 -0400 Subject: [PATCH 14/25] Update github_tests_actions.yml --- .github/workflows/github_tests_actions.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github_tests_actions.yml b/.github/workflows/github_tests_actions.yml index b15690b4..dfc1189a 100644 --- a/.github/workflows/github_tests_actions.yml +++ b/.github/workflows/github_tests_actions.yml @@ -36,7 +36,7 @@ jobs: run: | poetry config virtualenvs.in-project true poetry install - pip install -e . + poetry run python -m pip install -e . - name: Debug Information (Post-install) run: | @@ -44,7 +44,7 @@ jobs: echo "Pip version: $(pip --version)" echo "Poetry version: $(poetry --version)" echo "Installed packages:" - pip list + poetry run python -m pip list echo "Python path:" poetry run python -c "import sys; print(sys.path)" echo "Can we import nukeserversocket?" From e0faeed1a67e84dda878684d5fc5d80165b177a2 Mon Sep 17 00:00:00 2001 From: Virgil <28490646+sisoe24@users.noreply.github.com> Date: Sun, 18 Aug 2024 17:33:46 -0400 Subject: [PATCH 15/25] Update github_tests_actions.yml --- .github/workflows/github_tests_actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/github_tests_actions.yml b/.github/workflows/github_tests_actions.yml index dfc1189a..0e11e3f9 100644 --- a/.github/workflows/github_tests_actions.yml +++ b/.github/workflows/github_tests_actions.yml @@ -35,7 +35,7 @@ jobs: - name: Install dependencies run: | poetry config virtualenvs.in-project true - poetry install + poetry install poetry run python -m pip install -e . - name: Debug Information (Post-install) From 1434b8ada249fce05f6da7f12df559c15f8a0d42 Mon Sep 17 00:00:00 2001 From: Virgil <28490646+sisoe24@users.noreply.github.com> Date: Sun, 18 Aug 2024 17:36:24 -0400 Subject: [PATCH 16/25] Update github_tests_actions.yml --- .github/workflows/github_tests_actions.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/github_tests_actions.yml b/.github/workflows/github_tests_actions.yml index 0e11e3f9..eb8e5dd6 100644 --- a/.github/workflows/github_tests_actions.yml +++ b/.github/workflows/github_tests_actions.yml @@ -52,6 +52,8 @@ jobs: - name: Run tests run: | + echo "Current directory: $(pwd)" + cd .. echo "Which poetry" which poetry poetry run which pytest From a6758a18ef05fd8aa4777b451987f59ab05f0d63 Mon Sep 17 00:00:00 2001 From: Virgil <28490646+sisoe24@users.noreply.github.com> Date: Sun, 18 Aug 2024 17:39:06 -0400 Subject: [PATCH 17/25] Update github_tests_actions.yml --- .github/workflows/github_tests_actions.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github_tests_actions.yml b/.github/workflows/github_tests_actions.yml index eb8e5dd6..ff468ec6 100644 --- a/.github/workflows/github_tests_actions.yml +++ b/.github/workflows/github_tests_actions.yml @@ -41,7 +41,7 @@ jobs: - name: Debug Information (Post-install) run: | echo "Python version: $(python --version)" - echo "Pip version: $(pip --version)" + echo "Pip version: $(poetry run python -m pip --version)" echo "Poetry version: $(poetry --version)" echo "Installed packages:" poetry run python -m pip list @@ -53,9 +53,10 @@ jobs: - name: Run tests run: | echo "Current directory: $(pwd)" - cd .. + ls echo "Which poetry" which poetry + echo "Which pytest" poetry run which pytest poetry run pytest -v From 1547ba5a6f9e252208553ea6e1b3c1c6acb969a6 Mon Sep 17 00:00:00 2001 From: Virgil <28490646+sisoe24@users.noreply.github.com> Date: Sun, 18 Aug 2024 17:45:22 -0400 Subject: [PATCH 18/25] Update github_tests_actions.yml --- .github/workflows/github_tests_actions.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github_tests_actions.yml b/.github/workflows/github_tests_actions.yml index ff468ec6..27c59700 100644 --- a/.github/workflows/github_tests_actions.yml +++ b/.github/workflows/github_tests_actions.yml @@ -16,7 +16,7 @@ jobs: matrix: os: [macos-12, windows-latest] python-version: ["3.7", "3.9", "3.10"] - fail-fast: false + fail-fast: true steps: - name: Checkout repository @@ -52,8 +52,8 @@ jobs: - name: Run tests run: | + export PYTHONPATH=$PYTHONPATH:$(pwd) echo "Current directory: $(pwd)" - ls echo "Which poetry" which poetry echo "Which pytest" From 5bf0c1bdaa52e4937d768bed8f9dd63b9cb8b12c Mon Sep 17 00:00:00 2001 From: Virgil <28490646+sisoe24@users.noreply.github.com> Date: Sun, 18 Aug 2024 17:50:34 -0400 Subject: [PATCH 19/25] Update github_tests_actions.yml --- .github/workflows/github_tests_actions.yml | 41 +++++++++++----------- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/.github/workflows/github_tests_actions.yml b/.github/workflows/github_tests_actions.yml index 27c59700..9f68e1e8 100644 --- a/.github/workflows/github_tests_actions.yml +++ b/.github/workflows/github_tests_actions.yml @@ -30,36 +30,33 @@ jobs: - name: Install Poetry run: | pip install --upgrade pip - pip install poetry - - - name: Install dependencies - run: | - poetry config virtualenvs.in-project true - poetry install - poetry run python -m pip install -e . + pip install PySide2==5.15.2.1 + pip install pytest==7.4.3 + pip install pytest-qt==4.2.0 + pip install pytest-repeat==0.9.3 + pip install pytest-randomly==3.12.0 - - name: Debug Information (Post-install) + - name: Debug Information run: | echo "Python version: $(python --version)" - echo "Pip version: $(poetry run python -m pip --version)" - echo "Poetry version: $(poetry --version)" + echo "Pip version: $(pip --version)" echo "Installed packages:" - poetry run python -m pip list + pip list echo "Python path:" - poetry run python -c "import sys; print(sys.path)" + python -c "import sys; print(sys.path)" echo "Can we import nukeserversocket?" - poetry run python -c "import nukeserversocket; print('Success!')" + python -c "import nukeserversocket; print('Success!')" - name: Run tests run: | - export PYTHONPATH=$PYTHONPATH:$(pwd) echo "Current directory: $(pwd)" - echo "Which poetry" - which poetry + echo "Directory contents:" + ls -R echo "Which pytest" - poetry run which pytest - poetry run pytest -v - + which pytest + export PYTHONPATH=$PYTHONPATH:$(pwd) + pytest -v + - name: Debug on failure if: failure() run: | @@ -68,6 +65,8 @@ jobs: echo "Directory contents:" ls -R echo "Python path:" - poetry run python -c "import sys; print(sys.path)" + python -c "import sys; print(sys.path)" echo "Content of site-packages:" - ls $(poetry run python -c "import site; print(site.getsitepackages()[0])") + ls $(python -c "import site; print(site.getsitepackages()[0])") + echo "Trying to import nukeserversocket.settings:" + python -c "import nukeserversocket.settings; print('Settings import successful')" From ae0be5b1f43b54e005d36731e62c7811b1113b82 Mon Sep 17 00:00:00 2001 From: Virgil <28490646+sisoe24@users.noreply.github.com> Date: Sun, 18 Aug 2024 17:52:50 -0400 Subject: [PATCH 20/25] Update github_tests_actions.yml --- .github/workflows/github_tests_actions.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/github_tests_actions.yml b/.github/workflows/github_tests_actions.yml index 9f68e1e8..8e879620 100644 --- a/.github/workflows/github_tests_actions.yml +++ b/.github/workflows/github_tests_actions.yml @@ -30,11 +30,8 @@ jobs: - name: Install Poetry run: | pip install --upgrade pip - pip install PySide2==5.15.2.1 - pip install pytest==7.4.3 - pip install pytest-qt==4.2.0 - pip install pytest-repeat==0.9.3 - pip install pytest-randomly==3.12.0 + pip install tox + - name: Debug Information run: | @@ -55,7 +52,7 @@ jobs: echo "Which pytest" which pytest export PYTHONPATH=$PYTHONPATH:$(pwd) - pytest -v + tox - name: Debug on failure if: failure() From 85e30f8259df7c84c966e47a1882244e28627ea0 Mon Sep 17 00:00:00 2001 From: Virgil <28490646+sisoe24@users.noreply.github.com> Date: Sun, 18 Aug 2024 17:55:21 -0400 Subject: [PATCH 21/25] Update github_tests_actions.yml --- .github/workflows/github_tests_actions.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github_tests_actions.yml b/.github/workflows/github_tests_actions.yml index 8e879620..80c0b491 100644 --- a/.github/workflows/github_tests_actions.yml +++ b/.github/workflows/github_tests_actions.yml @@ -30,7 +30,14 @@ jobs: - name: Install Poetry run: | pip install --upgrade pip - pip install tox + pip install PySide2==5.15.2.1 + pip install pytest==7.4.3 + pip install tox==4.8.0 + pip install pytest-qt==4.2.0 + pip install pytest-cov==4.1.0 + pip install pytest-repeat==0.9.3 + pip install pytest-randomly==3.12.0 + pip install -e . - name: Debug Information @@ -52,7 +59,7 @@ jobs: echo "Which pytest" which pytest export PYTHONPATH=$PYTHONPATH:$(pwd) - tox + pytest -v - name: Debug on failure if: failure() From 7e35f676b2ea38dbb7fe7cb8152de51d1e4025a7 Mon Sep 17 00:00:00 2001 From: Virgil <28490646+sisoe24@users.noreply.github.com> Date: Sun, 18 Aug 2024 17:57:42 -0400 Subject: [PATCH 22/25] Update github_tests_actions.yml --- .github/workflows/github_tests_actions.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github_tests_actions.yml b/.github/workflows/github_tests_actions.yml index 80c0b491..68a51334 100644 --- a/.github/workflows/github_tests_actions.yml +++ b/.github/workflows/github_tests_actions.yml @@ -48,8 +48,8 @@ jobs: pip list echo "Python path:" python -c "import sys; print(sys.path)" - echo "Can we import nukeserversocket?" - python -c "import nukeserversocket; print('Success!')" + echo "Can we import nukeserversocket.settings?" + python -c "import nukeserversocket.settings; print('Success!')" - name: Run tests run: | From 227bcb3c18157b68c965b249ea46a693e731730c Mon Sep 17 00:00:00 2001 From: Virgil <28490646+sisoe24@users.noreply.github.com> Date: Sun, 18 Aug 2024 18:08:30 -0400 Subject: [PATCH 23/25] Update github_tests_actions.yml --- .github/workflows/github_tests_actions.yml | 51 +++------------------- 1 file changed, 5 insertions(+), 46 deletions(-) diff --git a/.github/workflows/github_tests_actions.yml b/.github/workflows/github_tests_actions.yml index 68a51334..709085e3 100644 --- a/.github/workflows/github_tests_actions.yml +++ b/.github/workflows/github_tests_actions.yml @@ -27,50 +27,9 @@ jobs: with: python-version: ${{ matrix.python-version }} - - name: Install Poetry + - name: Install dependencies run: | - pip install --upgrade pip - pip install PySide2==5.15.2.1 - pip install pytest==7.4.3 - pip install tox==4.8.0 - pip install pytest-qt==4.2.0 - pip install pytest-cov==4.1.0 - pip install pytest-repeat==0.9.3 - pip install pytest-randomly==3.12.0 - pip install -e . - - - - name: Debug Information - run: | - echo "Python version: $(python --version)" - echo "Pip version: $(pip --version)" - echo "Installed packages:" - pip list - echo "Python path:" - python -c "import sys; print(sys.path)" - echo "Can we import nukeserversocket.settings?" - python -c "import nukeserversocket.settings; print('Success!')" - - - name: Run tests - run: | - echo "Current directory: $(pwd)" - echo "Directory contents:" - ls -R - echo "Which pytest" - which pytest - export PYTHONPATH=$PYTHONPATH:$(pwd) - pytest -v - - - name: Debug on failure - if: failure() - run: | - echo "Test failure occurred. Debugging information:" - echo "Current directory: $(pwd)" - echo "Directory contents:" - ls -R - echo "Python path:" - python -c "import sys; print(sys.path)" - echo "Content of site-packages:" - ls $(python -c "import site; print(site.getsitepackages()[0])") - echo "Trying to import nukeserversocket.settings:" - python -c "import nukeserversocket.settings; print('Settings import successful')" + python -m pip install --upgrade pip + pip install tox tox-gh-actions + - name: Test with tox + run: tox From 9c066f60751ea84a631112a2a502a064445ac338 Mon Sep 17 00:00:00 2001 From: Virgil <28490646+sisoe24@users.noreply.github.com> Date: Tue, 20 Aug 2024 17:15:34 -0400 Subject: [PATCH 24/25] Update github_tests_actions.yml --- .github/workflows/github_tests_actions.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/github_tests_actions.yml b/.github/workflows/github_tests_actions.yml index 709085e3..1e41a04e 100644 --- a/.github/workflows/github_tests_actions.yml +++ b/.github/workflows/github_tests_actions.yml @@ -3,6 +3,7 @@ on: push: branches: - main + - test-github-actions pull_request: branches: - main @@ -16,7 +17,7 @@ jobs: matrix: os: [macos-12, windows-latest] python-version: ["3.7", "3.9", "3.10"] - fail-fast: true + fail-fast: false steps: - name: Checkout repository @@ -27,9 +28,10 @@ jobs: with: python-version: ${{ matrix.python-version }} - - name: Install dependencies + - name: Install dependency run: | - python -m pip install --upgrade pip - pip install tox tox-gh-actions - - name: Test with tox - run: tox + python -m pip install --upgrade pip setuptools wheel + python -m pip install tox + - name: Run tox + run: tox -e py + From c3ef5556b998d9561ef03c33cf614d2eb991163f Mon Sep 17 00:00:00 2001 From: Virgil <28490646+sisoe24@users.noreply.github.com> Date: Tue, 20 Aug 2024 17:16:50 -0400 Subject: [PATCH 25/25] Delete tests/__init__.py --- tests/__init__.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 tests/__init__.py diff --git a/tests/__init__.py b/tests/__init__.py deleted file mode 100644 index e69de29b..00000000