Skip to content

Commit

Permalink
try this
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Torres committed Nov 29, 2023
1 parent 26c8966 commit 61f99d4
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,13 @@ on:
jobs:
unit:
runs-on: ubuntu-latest
services:
redis:
image: redis
ports:
- 6399:6379
redis-ssl:
image: bitnami/redis
env:
REDIS_PORT_NUMBER: "0"
REDIS_TLS_ENABLED: "yes"
REDIS_TLS_PORT_NUMBER: "7000"
REDIS_TLS_CERT_FILE: "/opt/bitnami/redis/certs/redis.crt"
REDIS_TLS_KEY_FILE: "/opt/bitnami/redis/certs/redis.key"
REDIS_TLS_CA_FILE: "/opt/bitnami/redis/certs/ca.crt"
REDIS_TLS_AUTH_CLIENTS: "no"
ALLOW_EMPTY_PASSWORD: "yes"
ports:
- 7000:7000
strategy:
matrix:
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Copy repo files to service container
run: docker cp ${{ github.workspace }}/tests/etc/redis/ redis-ssl:/opt/bitname/redis/certs/
- name: Setup service test containers
run: docker-compose -f tests/compose.yml up -d
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
Expand Down

0 comments on commit 61f99d4

Please sign in to comment.