-
Notifications
You must be signed in to change notification settings - Fork 424
42 lines (37 loc) · 1.09 KB
/
flask-overhead-profile.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: flask-overhead-profile
on:
push:
branches:
- main
- 'mq-working-branch**'
pull_request:
paths:
- 'ddtrace/**'
- 'scripts/profiles/flask-simple/**'
- '.github/workflows/flask-overhead-profile.yml'
jobs:
flask-overhead-profile:
runs-on: ubuntu-latest
env:
PREFIX: ${{ github.workspace }}/prefix
defaults:
run:
working-directory: ddtrace
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
path: ddtrace
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: "3.10"
- name: Setup
run: |
bash scripts/profiles/flask-simple/setup.sh ${PREFIX}
- name: Run
run: |
bash scripts/profiles/flask-simple/run.sh ${PREFIX}
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with:
name: flask-overhead-profile
path: ${{ github.workspace }}/prefix/artifacts