chore(crashtracking): add python version to crashtracker tags #6190
Workflow file for this run
This file contains 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: 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 |