Skip to content

Commit ff06373

Browse files
Debugging
1 parent 76f1496 commit ff06373

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,10 @@ jobs:
7474
python3 -m venv ~/venv
7575
~/venv/bin/pip install setuptools
7676
~/venv/bin/pip install "git+https://github.com/riptano/ccm.git@${CCM_VERSION}"
77-
echo "PATH=~/venv/bin:$PATH" >> $GITHUB_ENV
77+
# echo "PATH=~/venv/bin:$PATH" >> $GITHUB_ENV
7878
- name: Start cassandra nodes
7979
run: |
80+
source ~/venv/bin/activate
8081
VERSION=${{ matrix.cassandra_version }}
8182
keypath="$(pwd)/testdata/pki"
8283
conf=(
@@ -129,6 +130,7 @@ jobs:
129130
echo "JVM_EXTRA_OPTS=$JVM_EXTRA_OPTS" >> $GITHUB_ENV
130131
- name: Integration tests
131132
run: |
133+
source ~/venv/bin/activate
132134
export JVM_EXTRA_OPTS="${{env.JVM_EXTRA_OPTS}}"
133135
go test -v -tags "${{ matrix.tags }} gocql_debug" -timeout=5m -race ${{ env.args }}
134136
- name: 'Save ccm logs'
@@ -180,9 +182,10 @@ jobs:
180182
python3 -m venv ~/venv
181183
~/venv/bin/pip install setuptools
182184
~/venv/bin/pip install "git+https://github.com/riptano/ccm.git@${CCM_VERSION}"
183-
echo "PATH=~/venv/bin:$PATH" >> $GITHUB_ENV
185+
# echo "PATH=~/venv/bin:$PATH" >> $GITHUB_ENV
184186
- name: Start cassandra nodes
185187
run: |
188+
source ~/venv/bin/activate
186189
VERSION=${{ matrix.cassandra_version }}
187190
keypath="$(pwd)/testdata/pki"
188191
conf=(
@@ -241,5 +244,6 @@ jobs:
241244
sleep 30s
242245
- name: Integration tests
243246
run: |
247+
source ~/venv/bin/activate
244248
export JVM_EXTRA_OPTS="${{env.JVM_EXTRA_OPTS}}"
245249
go test -v -run=TestAuthentication -tags "${{ matrix.tags }} gocql_debug" -timeout=15s -runauth ${{ env.args }}

0 commit comments

Comments
 (0)