chore: [SVLS-5973] fix span pointer flow control #1574
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: build | |
| on: | |
| push: | |
| branches: | |
| - "main" | |
| pull_request: | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v3 | |
| with: | |
| python-version: 3.9 | |
| - name: Install dependencies | |
| run: | | |
| pip install virtualenv | |
| virtualenv venv | |
| source venv/bin/activate | |
| pip install .[dev] | |
| - name: Check formatting | |
| run: | | |
| source venv/bin/activate | |
| ./scripts/check_format.sh | |
| - name: Lint | |
| run: | | |
| source venv/bin/activate | |
| flake8 datadog_lambda/ | |
| unit-test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| max-parallel: 4 | |
| matrix: | |
| python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| pip install virtualenv | |
| virtualenv venv | |
| source venv/bin/activate | |
| pip install .[dev] | |
| - name: Run tests | |
| run: | | |
| source venv/bin/activate | |
| pytest -vv |