diff options
author | Cyril Chapellier <tchapi@users.noreply.github.com> | 2023-05-13 16:49:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-13 21:49:59 +0700 |
commit | 84833b9c5f267a43c603705dba43731de665257d (patch) | |
tree | 0543068a77e20e91c1110571724d4cfb2b1b8f17 | |
parent | 46d0056a6912b9a6a2459cefc93b229ffa5727d7 (diff) | |
download | rq-84833b9c5f267a43c603705dba43731de665257d.tar.gz |
[Chore] Fix test suite (#1895)
* fix: tests suite
* chore: add SSL tests
-rw-r--r-- | .github/workflows/workflow.yml | 17 | ||||
-rw-r--r-- | tox.ini | 3 |
2 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 4482102..6987660 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -10,6 +10,23 @@ permissions: contents: read # to fetch code (actions/checkout) 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: name: Python${{ matrix.python-version }}/Redis${{ matrix.redis-version }}/redis-py${{ matrix.redis-py-version }} runs-on: ubuntu-20.04 @@ -9,6 +9,9 @@ deps= sentry-sdk codecov psutil +passenv= + RUN_SSL_TESTS + RUN_SLOW_TESTS_TOO [testenv:flake8] basepython = python3.6 |