File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI on PRs (Splice Contributors)
2+ on : # TODO: replace with main only, once a day
3+ pull_request :
4+ types : [ opened, synchronize, reopened ]
5+
6+ concurrency :
7+ group : ${{ github.workflow }}-${{ github.ref }}
8+ cancel-in-progress : true
9+
10+ permissions :
11+ id-token : write # Required for GCP Workload Identity for failure notifications
12+ contents : read
13+
14+ jobs :
15+ performance_tests :
16+ runs-on : self-hosted-k8s-small
17+ container :
18+ image : postgres:17 # TODO: only necessary for connection check, replace with whatever scala tsets are using
19+ name : Performance Tests
20+ if : github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name
21+ steps :
22+ - name : Connection check
23+ shell : bash
24+ run : |
25+ echo "Checking connection to Splice services..."
26+ PGPASSWORD="$PERFORMANCE_TESTS_DB_PASSWORD" psql -h"$PERFORMANCE_TESTS_DB_HOST" -U"$PERFORMANCE_TESTS_DB_USER" -dcantonnet -c '\l' || (echo "Connection to DB failed" && exit 1)
You can’t perform that action at this time.
0 commit comments