This repository was archived by the owner on Nov 21, 2025. It is now read-only.
feat: archive notice #99
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Tests | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| env: | |
| POETRY_VERSION: 1.5.1 | |
| jobs: | |
| int: | |
| name: Integration Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Run integration tests - Redis cluster | |
| run: | | |
| docker network create --subnet=172.28.0.0/24 test_network | |
| export REDIS_PASSWORD=test1234 | |
| export NETWORK_NAME=test_network | |
| docker-compose -f ./int/docker-compose.yml run tests-cluster | |
| - name: Run integration tests - Redis host | |
| run: | | |
| export REDIS_PASSWORD=test1234 | |
| export NETWORK_NAME=test_network | |
| docker-compose -f ./int/docker-compose.yml run tests-host | |
| - name: Print logs on failure | |
| if: failure() | |
| run: | | |
| docker ps -a | |
| docker-compose -f ./int/docker-compose.yml logs | |
| - name: Clean up integration tests | |
| if: always() | |
| run: | | |
| docker-compose -f ./int/docker-compose.yml down |