Skip to content

fix(kafka): cast topic to str since it can return None #6300

fix(kafka): cast topic to str since it can return None

fix(kafka): cast topic to str since it can return None #6300

Workflow file for this run

name: UnitTests
on:
push:
branches:
- main
pull_request:
workflow_dispatch: {}
merge_group:
# Trigger jobs when PR is added to merge queue
types: [checks_requested]
jobs:
unit-tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
archs: x86_64 i686
#- os: arm-4core-linux
# archs: aarch64
- os: windows-latest
archs: AMD64 x86
- os: macos-latest
archs: arm64
steps:
- uses: actions/checkout@v4
# Include all history and tags
with:
fetch-depth: 0
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.12'
- uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Install latest stable toolchain and rustfmt
run: rustup update stable && rustup default stable && rustup component add rustfmt clippy
- name: Install hatch
uses: pypa/hatch@install
with:
version: "1.12.0"
- name: Run tests
run: hatch run ddtrace_unit_tests:test