diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b42586b..d36c6d0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,7 +66,7 @@ jobs: arch: s390x platform: s390x # Run in all these versions of Python - python-version: ["3.8", "3.9", "3.10"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 - name: Install Python ${{ matrix.python-version }} @@ -82,15 +82,9 @@ jobs: pip install .[tests] # Manually install pylint as long as we don't build the wheels #pip install pylint - - name: Install redis - if: runner.os == 'Linux' - run: sudo apt-get install -y redis-tools redis-server - - name: Verify that redis is up - if: runner.os == 'Linux' - run: redis-cli ping - name: Run unit tests - run: python -m unittest - - name: Run performance tests - run: python ./tests/performance/performance.py + run: python -m pytest ./tests/tests.py + #- name: Run performance tests + #run: python ./tests/performance/performance.py #- name: Run pylint #run: pylint UltraDict.py diff --git a/examples/parallel.py b/examples/parallel.py index 031e1a8..8ef07b1 100644 --- a/examples/parallel.py +++ b/examples/parallel.py @@ -14,7 +14,7 @@ # Make the example find UltraDict import sys, os -sys.path.insert(0, os.path.join(os.path.basename(__file__), '..')) +sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..', '..')) from UltraDict import UltraDict import multiprocessing