File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed
Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -106,14 +106,9 @@ jobs:
106106 # Install PostgreSQL client
107107 sudo apt-get update
108108 sudo apt-get install -y postgresql-client
109-
110- # Install Cassandra client and dependencies
111- sudo apt-get install -y curl python3-pip
112- curl -fsSL https://www.apache.org/dist/cassandra/KEYS | sudo gpg --dearmor -o /usr/share/keyrings/cassandra-archive-keyring.gpg
113- echo "deb [signed-by=/usr/share/keyrings/cassandra-archive-keyring.gpg] https://apache.jfrog.io/artifactory/cassandra-deb/ 40x main" | sudo tee -a /etc/apt/sources.list.d/cassandra.sources.list
114- sudo apt-get update
115- sudo apt-get install -y cassandra-tools
116- pip3 install six
109+
110+ - name : Create vector extension
111+ run : PGPASSWORD=password psql -h localhost -U root -d perfkit_pg_vector_db_ci -c "CREATE EXTENSION vector;"
117112
118113 - name : Create Cassandra keyspace
119114 run : |
@@ -131,9 +126,6 @@ jobs:
131126 docker exec ${{ job.services.cassandra.id }} cqlsh -u cassandra -p cassandra -e "CREATE KEYSPACE IF NOT EXISTS perfkit_db_ci WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1};"
132127 echo "Keyspace created"
133128
134- - name : Create vector extension
135- run : PGPASSWORD=password psql -h localhost -U root -d perfkit_pg_vector_db_ci -c "CREATE EXTENSION vector;"
136-
137129 - name : Test with Coverage
138130 run : |
139131 go test -v -coverprofile=benchmark_coverage.txt -covermode=atomic ./benchmark/...
You can’t perform that action at this time.
0 commit comments