Skip to content

Commit 6298c37

Browse files
committed
Try python docker
1 parent 0303736 commit 6298c37

File tree

1 file changed

+7
-39
lines changed

1 file changed

+7
-39
lines changed

.github/workflows/tests-performance.yml

Lines changed: 7 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ on:
88
- cron: '0 8 * * *' # Run at 8:00 daily
99
workflow_dispatch:
1010
push:
11-
branches:
12-
- main
13-
- dev/.*
11+
# branches:
12+
# - main
13+
# - dev/.*
1414
# pull_request:
1515
# paths:
1616
# - 'src/**'
@@ -23,50 +23,18 @@ jobs:
2323
test-performance:
2424
runs-on: gcp-perf-test-dedicated
2525
container:
26-
image: ubuntu:24.04
26+
image: python:3.13-trixie
2727
options: --cpuset-cpus=0
2828
timeout-minutes: 30
2929
steps:
30-
- name: Install Git
31-
run: |
32-
apt-get update && apt-get install -y git &&
33-
git config --global --add safe.directory /__w/neptune-query/neptune-query
34-
3530
- name: Checkout repository
3631
uses: actions/checkout@v4
3732

38-
- name: Install Python
39-
uses: actions/setup-python@v5
40-
with:
41-
python-version: "3.13"
33+
- name: Fix permissions
34+
run: |
35+
sudo chown $(whoami) .
4236
4337
- name: Install dependencies
4438
run: |
4539
python -m pip install --upgrade pip &&
4640
pip install -r dev_requirements.txt
47-
48-
- name: Run performance tests
49-
run: |
50-
pytest --junitxml="test-results/test-performance.xml" tests/performance
51-
52-
- name: Report measurements
53-
uses: mikepenz/action-junit-report@v5
54-
if: always()
55-
with:
56-
check_name: 'Performance measurements'
57-
report_paths: "./test-results/test-performance.xml"
58-
detailed_summary: true
59-
include_passed: true
60-
include_time_in_summary: true
61-
resolve_ignore_classname: true
62-
63-
- name: Performance validation
64-
uses: mikepenz/action-junit-report@v5
65-
if: always()
66-
with:
67-
check_name: 'Performance validation'
68-
report_paths: "./test-results/test-performance__validation.xml"
69-
detailed_summary: true
70-
include_passed: true
71-
include_time_in_summary: true
72-
resolve_ignore_classname: true

0 commit comments

Comments
 (0)