Add Kafka integration tests and deploy-kafka EaaS task #376
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: Gating | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write | |
| container: | |
| image: quay.io/exd-guild-compose/cts:latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Install system dependencies | |
| run: > | |
| sudo dnf update -y && | |
| sudo dnf install -y | |
| findutils | |
| git-core | |
| make | |
| python3-ldap | |
| python3-mock | |
| python3-sphinx | |
| python3-tox | |
| - name: bandit | |
| run: tox -e bandit | |
| - name: black | |
| run: tox -e black | |
| - name: flake8 | |
| run: tox -e flake8 | |
| - name: docs | |
| run: tox -e docs | |
| - name: tests | |
| run: tox -e py3 | |
| - uses: codecov/codecov-action@v7 | |
| with: | |
| use_oidc: true | |
| flags: unit-tests | |
| files: ./coverage.xml | |
| fail_ci_if_error: false |