Skip to content

Commit 23e0979

Browse files
authored
Update build.yml - remove build-time location service test
1 parent 8d3ec66 commit 23e0979

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -288,33 +288,6 @@ jobs:
288288
-f - \
289289
< ${GITHUB_WORKSPACE}/.signadot/sbx-gh-template.yaml
290290
291-
- name: Run Tests
292-
run: |
293-
# Run the proxy
294-
echo "Starting signadot proxy..."
295-
signadot local proxy --sandbox ${SANDBOX_NAME} \
296-
--map http://location.${NAMESPACE}:8081@localhost:38081 \
297-
--map http://frontend.${NAMESPACE}:8080@localhost:38080 > /tmp/signadot-proxy.log &
298-
PROXY_PID=$!
299-
sleep 1
300-
cat /tmp/signadot-proxy.log
301-
302-
# Run api tests
303-
echo "Executing tests..."
304-
go install github.com/jstemmer/go-junit-report/v2@latest
305-
TEST_LOCATION_ADDR=localhost:38081 go test -v \
306-
${GITHUB_WORKSPACE}/services/location/ | go-junit-report -set-exit-code -out api-report.xml
307-
308-
# Run integration tests
309-
TEST_FRONTEND_ADDR=localhost:38080 TEST_TARGET_WORKLOAD=location TEST_SANDBOX_NAME=${SANDBOX_NAME} go test -v \
310-
${GITHUB_WORKSPACE}/services/frontend/ | go-junit-report -set-exit-code -out integration-report.xml
311-
312-
# Stop the proxy
313-
echo "Stopping signadot proxy..."
314-
cat /tmp/signadot-proxy.log
315-
kill ${PROXY_PID}
316-
317-
318291
sandbox-driver:
319292
runs-on: ubuntu-latest
320293
if: ${{ github.event_name == 'pull_request' && needs.changes.outputs.driver == 'true' }}

0 commit comments

Comments
 (0)