external.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. name: External Server Tests
  2. on:
  3. pull_request:
  4. push:
  5. schedule:
  6. - cron: '0 0 * * *'
  7. jobs:
  8. test-external-standalone:
  9. runs-on: ubuntu-latest
  10. timeout-minutes: 14400
  11. steps:
  12. - uses: actions/checkout@v2
  13. - name: Build
  14. run: make REDIS_CFLAGS=-Werror
  15. - name: Start redis-server
  16. run: ./src/redis-server --daemonize yes
  17. - name: Run external test
  18. run: |
  19. ./runtest \
  20. --host 127.0.0.1 --port 6379 \
  21. --tags -slow
  22. test-external-cluster:
  23. runs-on: ubuntu-latest
  24. timeout-minutes: 14400
  25. steps:
  26. - uses: actions/checkout@v2
  27. - name: Build
  28. run: make REDIS_CFLAGS=-Werror
  29. - name: Start redis-server
  30. run: ./src/redis-server --cluster-enabled yes --daemonize yes
  31. - name: Create a single node cluster
  32. run: ./src/redis-cli cluster addslots $(for slot in {0..16383}; do echo $slot; done); sleep 5
  33. - name: Run external test
  34. run: |
  35. ./runtest \
  36. --host 127.0.0.1 --port 6379 \
  37. --cluster-mode \
  38. --tags -slow