diff options
author | Chayim I. Kirshen <c@kirshen.com> | 2023-05-15 14:30:52 +0300 |
---|---|---|
committer | Chayim I. Kirshen <c@kirshen.com> | 2023-05-15 14:30:52 +0300 |
commit | 095477072342144a48f73951006c7cefe04cd880 (patch) | |
tree | 69a9df1b5144dc0db28f415f2148475d5f086916 | |
parent | df4776174d08d38c4addf4335ac154bb6a67aa5c (diff) | |
download | redis-py-095477072342144a48f73951006c7cefe04cd880.tar.gz |
redis versions via the 5.x branch
-rw-r--r-- | .github/workflows/version_coverage.yml | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/.github/workflows/version_coverage.yml b/.github/workflows/version_coverage.yml new file mode 100644 index 0000000..050e202 --- /dev/null +++ b/.github/workflows/version_coverage.yml @@ -0,0 +1,51 @@ +name: Redis Converage Matrix + +on: + push: + paths-ignore: + - 'docs/**' + - '**/*.rst' + - '**/*.md' + branches: + - master + - '[0-9].[0-9]' + pull_request: + branches: + - master + - '[0-9].[0-9]' + +permissions: + contents: read + +jobs: + + run-tests: + services: + redis: + image: redis:${{matrix.redis-version}} + ports: + - 6379:6379 + runs-on: ubuntu-latest + timeout-minutes: 30 + strategy: + max-parallel: 15 + fail-fast: false + matrix: + python-version: ['3.7', '3.11'] + redis-version: ['5.0', '6.0', '6.2', '7.0'] + + env: + ACTIONS_ALLOW_UNSECURE_COMMANDS: true + name: redis ${{matrix.redis-version}} ${{matrix.python-version}} + + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + cache: 'pip' + - name: run tests + run: | + pip install -U setuptools wheel + pip install -r dev_requirements.txt + pytest -m "not onlycluster and not redismod"
\ No newline at end of file |