Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Install uv
uses: astral-sh/setup-uv@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
python-version: ["3.9", "3.14"]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Install uv
uses: astral-sh/setup-uv@v4
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ on:
push:
branches: [main]
paths:
- 'drift/**'
- '.github/workflows/e2e.yml'
- "drift/**"
- ".github/workflows/e2e.yml"
pull_request:
branches: [main]
paths:
- 'drift/**'
- '.github/workflows/e2e.yml'
- "drift/**"
- ".github/workflows/e2e.yml"
workflow_dispatch: {}

jobs:
Expand All @@ -31,12 +31,12 @@ jobs:
E2E_TESTS=$(find drift/instrumentation -type d -name "e2e-tests" \
| sed 's|drift/instrumentation/||' | sed 's|/e2e-tests||' | sort \
| jq -R -s -c 'split("\n") | map(select(length > 0))')

# Find all stack-tests directories (multi-instrumentation)
STACK_TESTS=$(find drift/stack-tests -mindepth 1 -maxdepth 1 -type d 2>/dev/null \
| xargs -I {} basename {} | sort \
| jq -R -s -c 'split("\n") | map(select(length > 0))') || echo "[]"

echo "Found e2e-tests: $E2E_TESTS"
echo "Found stack-tests: $STACK_TESTS"
echo "e2e_matrix=$E2E_TESTS" >> $GITHUB_OUTPUT
Expand All @@ -54,7 +54,7 @@ jobs:
library: ${{ fromJSON(needs.discover.outputs.e2e_matrix) }}
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Install uv
uses: astral-sh/setup-uv@v4
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish-python-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ on:
workflow_dispatch:
inputs:
temp_version:
description: 'Optional version override (ex: 0.1.0-test)'
description: "Optional version override (ex: 0.1.0-test)"
required: false
default: ''
default: ""

jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # Required for trusted publishing to PyPI
id-token: write # Required for trusted publishing to PyPI
env:
TEMP_VERSION: ${{ github.event_name == 'workflow_dispatch' && inputs.temp_version || '' }}

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Install uv
uses: astral-sh/setup-uv@v4
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
# This makes the manifest available at: https://use-tusk.github.io/drift-python-sdk/instrumentation-manifest.json
publish-manifest:
needs: [publish]
if: github.event_name == 'release' # Only run on actual releases, not workflow_dispatch
if: github.event_name == 'release' # Only run on actual releases, not workflow_dispatch
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down
Loading