@@ -125,7 +125,7 @@ jobs:
125125 sleep 10 # Wait for services to start
126126
127127 - name : Run integration tests
128- run : COVERAGE_FILE=.coverage.py${{ matrix.python_version }}.integration uv run coverage run -m pytest ./tests/integration/
128+ run : COVERAGE_FILE=.coverage.py${{ matrix.python_version }}.integration uv run coverage run -m pytest ./tests/integration/ -m "not tuner"
129129 env :
130130 RABBITMQ_URL : amqp://user:password@localhost:5672/
131131
@@ -135,10 +135,52 @@ jobs:
135135 name : coverage-integration-py${{ matrix.python_version }}
136136 include-hidden-files : true
137137 path : .coverage.py${{ matrix.python_version }}.integration*
138+
139+ test-integration-tuner :
140+ name : Tests - integration:tuner
141+ runs-on : ubuntu-latest
142+ timeout-minutes : 5
143+ strategy :
144+ matrix :
145+ python_version : [3.12, 3.13]
146+ steps :
147+ - name : Checkout
148+ uses : actions/checkout@v4
149+
150+ - name : Install python
151+ uses : actions/setup-python@v5
152+ with :
153+ python-version : ${{matrix.python_version}}
154+
155+ - name : Install uv
156+ uses : astral-sh/setup-uv@v4
157+ with :
158+ enable-cache : true
159+ cache-dependency-glob : " uv.lock"
160+
161+ - name : Install project
162+ run : uv sync --group test
163+
164+ - name : Run backing services
165+ run : |
166+ docker compose up rabbitmq -d
167+ sleep 10 # Wait for services to start
168+
169+ - name : Run integration tests
170+ run : COVERAGE_FILE=.coverage.py${{ matrix.python_version }}.integration.tuner uv run coverage run -m pytest ./tests/integration/ -m "tuner"
171+ env :
172+ RABBITMQ_URL : amqp://user:password@localhost:5672/
173+
174+ - name : Upload integration test coverage
175+ uses : actions/upload-artifact@v4
176+ with :
177+ name : coverage-integration-tuner-py${{ matrix.python_version }}
178+ include-hidden-files : true
179+ path : .coverage.py${{ matrix.python_version }}.integration.tuner*
138180
139181 coverage-report :
140182 name : Report coverage
141- needs : [test-unit, test-integration]
183+ needs : [test-unit, test-integration, test-integration-tuner] # Depends on tests passing
142184 runs-on : ubuntu-latest
143185 strategy :
144186 matrix :
0 commit comments