-
Notifications
You must be signed in to change notification settings - Fork 123
41 lines (39 loc) · 1.13 KB
/
load-test.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
name: load-test
on: push
jobs:
load-test:
name: load-test-spark
runs-on: ubuntu-latest
env:
SPARK_MASTER: local[*]
ZINGG_HOME: assembly/target
steps:
- name: checkout repo content
uses: actions/checkout@v3 # checkout the repository content to github runner.
- name: setup python
uses: actions/setup-python@v4
with:
python-version: 3.12.7 #install the python needed
- uses: actions/setup-java@v4
with:
java-version: '11'
distribution: temurin
- name: setup spark
uses: vemonet/setup-spark@v1
with:
spark-version: '3.5.3'
hadoop-version: '3'
- name: check spark
run: spark-submit --version
- name: mvn clean
run: mvn clean
- name: Build with Maven
run: mvn clean compile package -DskipTests=true
- name: execute py script
run: |
python perf_test/perfTestRunner.py
git config user.name nitish
git config user.email nitish1814@github.com
git add .
git commit -m "report generated"
git push