[Chore] Fix test suite (#1895)

* fix: tests suite

* chore: add SSL tests
main
Cyril Chapellier 2 years ago committed by GitHub
parent 46d0056a69
commit 84833b9c5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,6 +10,23 @@ permissions:
contents: read # to fetch code (actions/checkout) contents: read # to fetch code (actions/checkout)
jobs: jobs:
test-with-ssl:
name: Test all, including SSL tests
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Build the Docker test image for tox
uses: docker/build-push-action@v2
with:
file: tests/Dockerfile
tags: rqtest-image:latest
push: false
- name: Launch tox for all test scenarii
uses: addnab/docker-run-action@v3
with:
image: rqtest-image:latest
run: stunnel & redis-server & RUN_SSL_TESTS=1 tox
test: test:
name: Python${{ matrix.python-version }}/Redis${{ matrix.redis-version }}/redis-py${{ matrix.redis-py-version }} name: Python${{ matrix.python-version }}/Redis${{ matrix.redis-version }}/redis-py${{ matrix.redis-py-version }}
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04

@ -9,6 +9,9 @@ deps=
sentry-sdk sentry-sdk
codecov codecov
psutil psutil
passenv=
RUN_SSL_TESTS
RUN_SLOW_TESTS_TOO
[testenv:flake8] [testenv:flake8]
basepython = python3.6 basepython = python3.6

Loading…
Cancel
Save