Skip to content

Commit 5edbaf5

Browse files
committed
Removed redundant installations in CI
1 parent 49dbcd8 commit 5edbaf5

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.github/workflows/go.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff 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/...

0 commit comments

Comments
 (0)