From d45b178b7f18870c24b6f884edf69c448a6cfaf9 Mon Sep 17 00:00:00 2001 From: Nathan/Eilisha Shiraini Date: Tue, 3 Oct 2023 22:06:00 +0200 Subject: [PATCH] Making the test compatible with Python 3.5 --- .github/workflows/build.yml | 8 ++++---- testme.sh | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bd033f4..a3b706a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -128,8 +128,8 @@ jobs: cd package-dso && python setup.py clean -a && cd .. git clean -fdx . rm -rf */dist */build */*.egg-info - python -m pip install -v --no-build-isolation --no-index ./package-core - python -m pip install -v --no-build-isolation --no-index ./package-dso + cd package-core && python -m pip install -v --no-build-isolation --no-index . && cd .. + cd package-dso && python -m pip install -v --no-build-isolation --no-index . && cd .. cd ../.. python -c "import testnsp.testcore" python -c "import testnsp.testdso" @@ -143,8 +143,8 @@ jobs: cd package-dso && python setup.py clean -a && cd .. git clean -fdx . rm -rf */dist */build */*.egg-info - python -m pip install -v --no-build-isolation --no-index -e ./package-core - python -m pip install -v --no-build-isolation --no-index -e ./package-dso + cd package-core && python -m pip install -v --no-build-isolation --no-index -e . && cd .. + cd package-dso && python -m pip install -v --no-build-isolation --no-index -e . && cd .. cd ../.. python -c "import testnsp.testcore" python -c "import testnsp.testdso" diff --git a/testme.sh b/testme.sh index a233f9e..b6b59c0 100755 --- a/testme.sh +++ b/testme.sh @@ -89,8 +89,8 @@ cd package-dso && python setup.py clean -a && cd .. git clean -fdx python -c "import testnsp.testcore" 2>/dev/null && die "error: worktree must be clean" python -c "import testnsp.testdso" 2>/dev/null && die "error: worktree must be clean" -pip install --no-build-isolation -v ./package-core -pip install --no-build-isolation -v ./package-dso +cd package-core && pip install --no-build-isolation -v . && cd .. +cd package-dso && pip install --no-build-isolation -v . && cd .. cd ../.. python -c "import testnsp.testcore" @@ -110,8 +110,8 @@ cd package-dso && python setup.py clean -a && cd .. git clean -fdx python -c "import testnsp.testcore" 2>/dev/null && die "error: worktree must be clean" python -c "import testnsp.testdso" 2>/dev/null && die "error: worktree must be clean" -pip install --no-build-isolation -v -e ./package-core -pip install --no-build-isolation -v -e ./package-dso +cd package-core && pip install --no-build-isolation -v -e . && cd .. +cd package-dso && pip install --no-build-isolation -v -e . && cd .. cd ../.. python -c "import testnsp.testcore"