@@ -2,9 +2,9 @@ name: OpenCue Testing Pipeline
2
2
3
3
on :
4
4
push :
5
- branches : [ master ]
5
+ branches : [ master, cueweb ]
6
6
pull_request :
7
- branches : [ master ]
7
+ branches : [ master, cueweb ]
8
8
9
9
jobs :
10
10
test_python_2022 :
@@ -104,6 +104,49 @@ jobs:
104
104
- name : Run Sphinx build
105
105
run : ci/build_sphinx_docs.sh
106
106
107
+ test_cueweb :
108
+ name : Run CueWeb Tests
109
+ runs-on : ubuntu-latest
110
+ steps :
111
+ - name : Checkout repository
112
+ uses : actions/checkout@v2
113
+ - name : Use Node.js
114
+ uses : actions/setup-node@v1
115
+ with :
116
+ node-version : 21.x
117
+ - name : install dependencies for cueweb
118
+ run : npm install
119
+ working-directory : ./cueweb
120
+ - name : Run tests in Docker container
121
+ run : npm test
122
+ working-directory : ./cueweb
123
+
124
+ test_rest_gateway :
125
+ name : Run Rest Gateway Tests
126
+ runs-on : ubuntu-latest
127
+ steps :
128
+ - name : Checkout repository
129
+ uses : actions/checkout@v2
130
+ - name : Setup Go
131
+ uses : actions/setup-go@v3
132
+ with :
133
+ go-version : ' 1.21'
134
+ - name : Install dependencies
135
+ run : |
136
+ cd rest_gateway/opencue_gateway
137
+ go mod tidy
138
+ - name : Install protoc-gen-groc-gateway tool
139
+ run : |
140
+ go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@latest
141
+ - name : Initialize Go module
142
+ run : |
143
+ cd rest_gateway/opencue_gateway
144
+ go mod init opencue_gateway
145
+ - name : Run rest gateway tests
146
+ run : |
147
+ cd rest_gateway/opencue_gateway
148
+ go test -v ./...
149
+
107
150
check_changed_files :
108
151
name : Check Changed Files
109
152
runs-on : ubuntu-latest
0 commit comments