fix user password #7
Workflow file for this run
This file contains 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: RabbitMQ Tests | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'connectiva/protocols/amqp_protocol.py' | |
- 'tests/test_amqp_protocol.py' | |
- 'pyproject.toml' | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'connectiva/protocols/amqp_protocol.py' | |
- 'tests/test_amqp_protocol.py' | |
- 'pyproject.toml' | |
jobs: | |
base-setup: | |
uses: ./.github/workflows/base.yml | |
with: | |
python-version: ${{ matrix.python-version }} | |
test-rabbitmq: | |
needs: base-setup # This ensures that base-setup runs before this job | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
python-version: [3.8, 3.9, 3.10, 3.11, 3.12] | |
steps: | |
- name: Run RabbitMQ Tests | |
run: | | |
echo "Running RabbitMQ tests on Python ${{ matrix.python-version }}..." | |
docker compose -f docker/docker-compose.rabbitmq.yml up -d | |
poetry run python -m unittest discover -s tests -p 'test_amqp_protocol.py' | |
docker compose -f docker/docker-compose.rabbitmq.yml down | |
shell: bash | |