feat(sentry_integration): exec app in subprocess #1402
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: CI | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - release-sentry-streams/** | |
| - release-sentry-streams-k8s/** | |
| pull_request: | |
| jobs: | |
| tests: | |
| name: "Run tests" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version-file: sentry_streams/.python-version | |
| - name: Make environment | |
| run: | | |
| make install-dev | |
| - name: Run streams test | |
| run: make tests-streams | |
| - name: Run flink test | |
| run: make tests-flink | |
| env: | |
| FLINK_LIBS: ./flink_libs | |
| - name: Run k8s test | |
| run: make tests-k8s | |
| integration-tests: | |
| name: "Run integration tests" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version-file: sentry_streams/.python-version | |
| - name: Make environment | |
| run: | | |
| make install-dev | |
| - name: Install devservices | |
| run: | | |
| pip install devservices | |
| - name: Start services | |
| id: setup | |
| run: | | |
| devservices up | |
| - name: Install local package | |
| run: | | |
| pip install -e sentry_streams/. | |
| - name: Run integration tests | |
| run: make tests-integration |