Skip to content

Commit 54d7fc1

Browse files
committed
tidy up
1 parent 584433b commit 54d7fc1

2 files changed

Lines changed: 0 additions & 22 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -223,22 +223,6 @@ jobs:
223223
uses: abatilo/actions-poetry@3765cf608f2d4a72178a9fc5b918668e542b89b1 # v4.0.0
224224
with:
225225
poetry-version: ${{ env.POETRY_VERSION }}
226-
- name: Ensure Memgraph is still running (WSL)
227-
shell: wsl-bash {0} # root shell
228-
run: |
229-
mkdir -p /var/lib/memgraph/data-windows-${{ matrix.python-version }}
230-
chown -R memgraph:memgraph /var/lib/memgraph/data-windows-${{ matrix.python-version }}
231-
for i in {1..60}; do
232-
if timeout 1 bash -c "echo > /dev/tcp/127.0.0.1/7687" 2>/dev/null; then
233-
echo "Memgraph is ready."
234-
exit 0
235-
fi
236-
echo "Waiting for Memgraph... ($i/60)"
237-
sleep 1
238-
done
239-
echo "Memgraph did not become ready in time."
240-
ps aux | grep memgraph || true
241-
exit 1
242226
- name: Test project
243227
run: |
244228
$env:MG_HOST = (wsl hostname -I).Trim().Split(' ', [System.StringSplitOptions]::RemoveEmptyEntries)[0]

tests/docs/test_ogm.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
import os
1615
from typing import Optional
1716
import sys
1817

@@ -27,11 +26,6 @@
2726
allow_module_level=True,
2827
)
2928

30-
print(
31-
f"[test_ogm] Connecting to Memgraph at host={os.getenv('MG_HOST', '127.0.0.1')} "
32-
f"port={os.getenv('MG_PORT', '7687')}",
33-
flush=True,
34-
)
3529
db = Memgraph()
3630

3731

0 commit comments

Comments
 (0)