Skip to content

Commit

Permalink
Making the test compatible with Python 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Thf772 committed Oct 3, 2023
1 parent c4eaa14 commit d45b178
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down
8 changes: 4 additions & 4 deletions testme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit d45b178

Please sign in to comment.