Move to stable debian, ignore unfixed container vulns #368
Workflow file for this run
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: Python SDK Test | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| pull_request: | |
| jobs: | |
| test-sdk: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - uses: dorny/paths-filter@v3 | |
| id: filter | |
| with: | |
| filters: | | |
| python: | |
| - 'sdks/python/**' | |
| - name: Set up Python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: '3.10' | |
| - name: Install Poetry | |
| uses: snok/[email protected] | |
| - name: Install Protobuf | |
| run: | | |
| sudo apt install -y protobuf-compiler | |
| - name: Run Linter | |
| run: | | |
| cd sdks/python | |
| make all | |
| make lint | |
| - name: Run tests | |
| run: | | |
| cd sdks/python | |
| make all | |
| make test |