|
|
@ -10,8 +10,8 @@ permissions:
|
|
|
|
contents: read # to fetch code (actions/checkout)
|
|
|
|
contents: read # to fetch code (actions/checkout)
|
|
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
jobs:
|
|
|
|
test-with-ssl:
|
|
|
|
ssl-test:
|
|
|
|
name: Test all, including SSL tests
|
|
|
|
name: Run SSL tests
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/checkout@v3
|
|
|
@ -21,11 +21,11 @@ jobs:
|
|
|
|
file: tests/Dockerfile
|
|
|
|
file: tests/Dockerfile
|
|
|
|
tags: rqtest-image:latest
|
|
|
|
tags: rqtest-image:latest
|
|
|
|
push: false
|
|
|
|
push: false
|
|
|
|
- name: Launch tox for all test scenarii
|
|
|
|
- name: Launch tox SSL env only (will only run SSL specific tests)
|
|
|
|
uses: addnab/docker-run-action@v3
|
|
|
|
uses: addnab/docker-run-action@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
image: rqtest-image:latest
|
|
|
|
image: rqtest-image:latest
|
|
|
|
run: stunnel & redis-server & RUN_SSL_TESTS=1 tox
|
|
|
|
run: stunnel & redis-server & RUN_SSL_TESTS=1 tox run -e ssl
|
|
|
|
|
|
|
|
|
|
|
|
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 }}
|
|
|
|