Skip to content

Commit e1068b5

Browse files
committed
Copy tests-performance to tests-performance-demo.yml
tests-performance are currently disabled via #79. This should trigger them via a new workflow file
1 parent cad2f57 commit e1068b5

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Performance tests - demo
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
test:
9+
runs-on: gcp-perf-test-dedicated
10+
container:
11+
image: ubuntu:24.04
12+
options: --cpuset-cpus=0
13+
timeout-minutes: 30
14+
steps:
15+
- name: Install Git
16+
run: |
17+
apt-get update && apt-get install -y git &&
18+
git config --global --add safe.directory /__w/neptune-query/neptune-query
19+
20+
- name: Checkout repository
21+
uses: actions/checkout@v4
22+
23+
- name: Install Python
24+
uses: actions/setup-python@v5
25+
with:
26+
python-version: "3.13"
27+
28+
- name: Install dependencies
29+
run: |
30+
python -m pip install --upgrade pip &&
31+
pip install -r dev_requirements.txt
32+
33+
- name: Run performance tests
34+
run: |
35+
pytest --junitxml="test-results/test-performance.xml" tests/performance

0 commit comments

Comments
 (0)