Skip to content

Bump ddtrace from 1.19.0 to 1.20.0 #3630

Bump ddtrace from 1.19.0 to 1.20.0

Bump ddtrace from 1.19.0 to 1.20.0 #3630

Workflow file for this run

name: build
on:
push:
branches:
- main
paths-ignore:
- 'docs/**'
- CHANGELOG.md
pull_request:
branches:
- main
paths-ignore:
- 'docs/**'
- CHANGELOG.md
jobs:
build:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
services:
postgres:
image: postgres:12.6
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
ports:
- 5432:5432
strategy:
max-parallel: 4
matrix:
python-version: ["3.10"]
database-url: ["postgresql://postgres:postgres@localhost:5432/postgres"]
steps:
- name: Checkout Source
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: |
git --version
python --version
python -m pip install --upgrade pip
pip --version
pip install poetry
poetry --version
poetry install
- name: Run Tests
run: |
poetry run pytest -vv --cov --cov-report=html --cov-report=xml
env:
DATABASE_URL: ${{ matrix.database-url }}
- name: Send Reports to Codecov
uses: codecov/codecov-action@v3
env:
PYTHON: ${{ matrix.python-version }}
DB_URL: ${{ matrix.database-url }}
with:
env_vars: PYTHON,DB_URL