Skip to content

Commit

Permalink
Update Github workflow, fix parallel example
Browse files Browse the repository at this point in the history
  • Loading branch information
ronny-rentner committed Sep 16, 2024
1 parent 9f88a2f commit f3e5d74
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
2 changes: 1 addition & 1 deletion examples/parallel.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f3e5d74

Please sign in to comment.