fix: log InvalidSchema exception on INFO level #3774
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: Test Suite | |
on: | |
pull_request: | |
types: [ opened, synchronize, reopened ] | |
push: | |
branches: [ main ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref }} | |
cancel-in-progress: true | |
env: | |
FORCE_COLOR: 1 | |
PIP_PROGRESS_BAR: off | |
PYTHONUNBUFFERED: 1 | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [ '3.8', '3.9', '3.10', '3.11' ] | |
env: | |
PYTEST_ADDOPTS: >- | |
--log-dir=/tmp/ci-logs | |
--log-file=/tmp/ci-logs/pytest.log | |
--showlocals | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
cache: pip | |
python-version: ${{ matrix.python-version }} | |
- run: make install version | |
- run: make unit-tests | |
- run: make integration-tests PYTEST_ARGS="--random-order" | |
- name: Archive logs | |
uses: actions/upload-artifact@v4 | |
if: ${{ always() }} | |
with: | |
name: karapace-integration-test-logs-${{ matrix.python-version }} | |
path: /tmp/ci-logs |