This repository was archived by the owner on Apr 27, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +1240
-47
lines changed Expand file tree Collapse file tree 5 files changed +1240
-47
lines changed Original file line number Diff line number Diff line change @@ -38,16 +38,16 @@ jobs:
38
38
key : ${{ runner.os }}-${{ matrix.node-version }}-node-modules-${{ hashFiles('**/yarn.lock') }}
39
39
restore-keys : |
40
40
${{ runner.os }}-${{ matrix.node-version }}-node-modules-
41
+
42
+ - name : Pull dependencies
43
+ run : yarn
41
44
- name : Cache Cypress Binary
42
45
id : cache-cypress-binary
43
46
uses : actions/cache@v2
44
47
with :
45
48
path : cypress/cache
46
49
key : cypress-binary-${{ hashFiles('yarn.lock') }}
47
-
48
- - name : Pull dependencies
49
- run : yarn
50
-
50
+ - run : yarn cypress install
51
51
- name : Sign plugin
52
52
run : yarn sign
53
53
env :
57
57
# We already tested it extensively in the other repository
58
58
- name : Run grafana server
59
59
run : docker-compose -f docker-compose.yml up -d
60
+
60
61
- name : Run tests
61
62
run : yarn cy:ci
62
63
env :
Original file line number Diff line number Diff line change @@ -37,15 +37,15 @@ jobs:
37
37
key : ${{ runner.os }}-${{ matrix.node-version }}-node-modules-${{ hashFiles('**/yarn.lock') }}
38
38
restore-keys : |
39
39
${{ runner.os }}-${{ matrix.node-version }}-node-modules-
40
+ - name : Pull dependencies
41
+ run : yarn
40
42
- name : Cache Cypress Binary
41
43
id : cache-cypress-binary
42
44
uses : actions/cache@v2
43
45
with :
44
46
path : cypress/cache
45
47
key : cypress-binary-${{ hashFiles('yarn.lock') }}
46
-
47
- - name : Pull dependencies
48
- run : yarn
48
+ - run : yarn cypress install
49
49
- name : Sign plugin
50
50
run : yarn sign
51
51
env :
Original file line number Diff line number Diff line change 1
1
version : " 3.9"
2
2
services :
3
3
grafana :
4
- image : grafana/grafana:8.1.1
4
+ image : grafana/grafana:9.2.4
5
5
volumes :
6
6
- ./dist:/var/lib/grafana/plugins/pyroscope-panel
7
7
- ./grafana.ini:/etc/grafana/grafana.ini
Original file line number Diff line number Diff line change 6
6
"postinstall" : " cp -r node_modules/@pyroscope/panel-plugin/dist ." ,
7
7
"cy:open" : " cypress open" ,
8
8
"cy:ci" : " cypress run" ,
9
- "sign" : " grafana-toolkit plugin:sign"
9
+ "sign" : " grafana-toolkit plugin:sign" ,
10
+ "cypress" : " cypress"
10
11
},
11
12
"author" : " Pyroscope devs" ,
12
13
"license" : " Apache-2.0" ,
15
16
},
16
17
"dependencies" : {
17
18
"@grafana/toolkit" : " ^8.3.2" ,
18
- "@pyroscope/panel-plugin" : " 1.2.3 " ,
19
+ "@pyroscope/panel-plugin" : " 1.4.0 " ,
19
20
"cypress" : " ^9.5.0"
20
21
}
21
22
}
You can’t perform that action at this time.
0 commit comments