Repository navigation
Add executable documentation examples and dedicated CI #4
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: ydb.tech examples | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main, docs/topic-snippets] | |
| concurrency: | |
| group: ydb-tech-examples-${{ github.head_ref || github.ref_name }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| examples: | |
| name: Examples (ydb_tech) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| services: | |
| ydb: | |
| image: ydbplatform/local-ydb:trunk | |
| ports: ["2136:2136", "8765:8765"] | |
| env: | |
| YDB_USE_IN_MEMORY_PDISKS: true | |
| options: '-h localhost' | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.10' | |
| - run: python -m pip install -e . | |
| - run: bash examples/ydb_tech/run.sh |