Skip to content

Commit

Permalink
Use unofficial 2.12 build (#397)
Browse files Browse the repository at this point in the history
  • Loading branch information
imilinovic authored Oct 21, 2023
1 parent 0320955 commit d812a04
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 23 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ env:
MEMGRAPH_PORT: 7687
NEO4J_PORT: 7688
NEO4J_CONTAINER: "neo4j_test"
OFFICIAL: "true"
OFFICIAL: "false"

on: [pull_request, workflow_dispatch]

Expand All @@ -16,10 +16,11 @@ jobs:
runs-on: ubuntu-latest
continue-on-error: True
env:
MEMGRAPH_VERSION: 2.11.0
MEMGRAPH_VERSION: 2.12.0
strategy:
matrix:
architecture: ["amd64", "arm64"]
#architecture: ["amd64", "arm64"]
architecture: ["amd64"]
target: ["prod", "dev"]
steps:
- name: Checkout repository and submodules
Expand All @@ -44,7 +45,7 @@ jobs:
else
sudo apt update && sudo apt install -y ca-certificates wget git
wget -q https://s3.eu-west-1.amazonaws.com/deps.memgraph.io/memgraph-unofficial/memgraph_${MEMGRAPH_VERSION}-1_amd64.deb -O memgraph-amd64.deb
wget -q https://s3.eu-west-1.amazonaws.com/deps.memgraph.io/memgraph-unofficial/memgraph_${MEMGRAPH_VERSION}-1_arm64.deb -O memgraph-arm64.deb
# wget -q https://s3.eu-west-1.amazonaws.com/deps.memgraph.io/memgraph-unofficial/memgraph_${MEMGRAPH_VERSION}-1_arm64.deb -O memgraph-arm64.deb
fi
- name: Disk status before cleaning
Expand All @@ -63,7 +64,7 @@ jobs:
run: |
df -h
docker buildx du
- name: Rust library tests
if: matrix.target == 'dev'
run: |
Expand All @@ -73,7 +74,7 @@ jobs:
- name: Build and run Memgraph MAGE:${{ matrix.target }}
run: |
DOCKER_BUILDKIT=1 docker buildx build \
--tag memgraph-mage:${{ matrix.target }} \
--target ${{ matrix.target }} \
Expand Down Expand Up @@ -127,18 +128,18 @@ jobs:
run: |
docker exec -i -u root ${{ env.MAGE_CONTAINER }} bash -c "cd /mage/python/ && python3 -m pytest ."
- name: Run End-to-end tests
if: matrix.architecture != 'arm64'
#if: matrix.architecture != 'arm64'
env:
PYTHONPATH: "$PWD/e2e"
run: |
cd e2e
docker exec -i -u root ${{ env.MAGE_CONTAINER }} bash -c "cd /mage/e2e/ && python3 -m pytest . -k 'not cugraph'"
- name: Run End-to-end correctness tests
if: matrix.architecture != 'arm64'
#if: matrix.architecture != 'arm64'
env:
PYTHONPATH: "$PWD/e2e"
run: |
Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[submodule "cpp/memgraph"]
path = cpp/memgraph
url = https://github.com/memgraph/memgraph.git
branch = release/2.11
branch = T675-MAGE-temp-build
10 changes: 6 additions & 4 deletions e2e/collections_test/test_to_set1/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
query: >
RETURN collections.to_set([1,1,2,1,3,4,1]) AS result;
WITH collections.to_set([1,1,2,1,3,4,1]) AS result UNWIND result AS element RETURN element ORDER BY element ASC;
output:
- result: [4, 3, 2, 1]
output:
- element: 1
- element: 2
- element: 3
- element: 4
3 changes: 1 addition & 2 deletions e2e/collections_test/test_to_set2/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
query: >
RETURN collections.to_set([]) AS result;
output:
output:
- result: []
Empty file.
6 changes: 0 additions & 6 deletions e2e/collections_test/test_to_set3/test.yml

This file was deleted.

0 comments on commit d812a04

Please sign in to comment.