1111 build_and_test_ubuntu :
1212 strategy :
1313 matrix :
14- platform : [ubuntu-18 .04]
15- python_version : ['3.7 ']
14+ platform : [ubuntu-20 .04]
15+ python_version : ['3.8 ']
1616 mgversion :
1717 - 1.3.0
1818 - 1.4.0
2727 uses : actions/cache@v1
2828 with :
2929 path : ~/memgraph
30- key : cache-memgraph-v${{ matrix.mgversion }}-community-installer-v2
30+ key : cache-memgraph-v${{ matrix.mgversion }}-community-installer-v3
3131 - name : Download Memgraph
3232 if : steps.cache-memgraph-community.outputs.cache-hit != 'true'
3333 run : |
@@ -120,14 +120,18 @@ jobs:
120120 # First make sure python would resolve to the windows native python, not mingw one
121121 echo "C:\msys64\mingw${{ matrix.arch.mingw }}\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
122122 echo "${{ env.pythonLocation }}" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
123+ - name : Print OpenSSL version
124+ shell : msys2 {0}
125+ run : |
126+ openssl version -a
123127 - uses : Vampire/setup-wsl@v1
124128 with :
125- distribution : Ubuntu-18 .04
129+ distribution : Ubuntu-20 .04
126130 - name : Download, install and run Memgraph under WSL
127131 shell : wsl-bash {0} # root shell
128132 run : |
129133 mkdir ~/memgraph
130- curl -L https://download.memgraph.com/memgraph/v${{ env.MG_VERSION }}/ubuntu-18 .04/memgraph_${{ env.MG_VERSION }}-1_amd64.deb --output ~/memgraph/memgraph.deb
134+ curl -L https://download.memgraph.com/memgraph/v${{ env.MG_VERSION }}/ubuntu-20 .04/memgraph_${{ env.MG_VERSION }}-1_amd64.deb --output ~/memgraph/memgraph.deb
131135 dpkg -i ~/memgraph/memgraph.deb
132136 openssl req -x509 -newkey rsa:4096 -days 3650 -nodes -keyout key.pem -out cert.pem -subj "/C=GB/ST=London/L=London/O=Testing Corp./CN=PymgclientTest"
133137 nohup /usr/lib/memgraph/memgraph --bolt-port 7687 --bolt-cert-file="cert.pem" --bolt-key-file="key.pem" --data-directory="~/memgraph/data" --storage-properties-on-edges=true --storage-snapshot-interval-sec=0 --storage-wal-enabled=false --storage-recover-on-startup=false --storage-snapshot-on-exit=false --telemetry-enabled=false --log-file='' &
@@ -153,6 +157,7 @@ jobs:
153157
154158 build_macos :
155159 strategy :
160+ fail-fast : false
156161 matrix :
157162 platform : [macos-12, macos-11, macos-10.15]
158163 python_version :
@@ -169,21 +174,26 @@ jobs:
169174 - name : Install python and OpenSSL
170175 run : |
171176 brew install python@${{ matrix.python_version }} openssl@1.1
177+ brew link --force --overwrite openssl@1.1
178+ openssl version -a
172179 - name : Manage OpenSSL 3 on ARM machines
173180 if : ${{ contains(matrix.platform, 'ARM64') }}
174- run : brew install openssl@3
181+ run : |
182+ brew install openssl@3
183+ brew link --force --overwrite openssl@3
184+ openssl version -a
175185 - name : Make used python version default
176186 run : |
177- brew unlink python@3 && brew link python@${{ matrix.python_version }}
178- python3 --version
187+ brew unlink python@3 && brew link --force python@${{ matrix.python_version }}
188+ python${{ matrix.python_version }} --version
179189 - name : Install pytest and pyopenssl
180- run : python3 -m pip install pyopenssl pytest
190+ run : python${{ matrix.python_version }} -m pip install pyopenssl pytest
181191 - name : Build pymgclient
182- run : python3 setup.py bdist_wheel
192+ run : python${{ matrix.python_version }} setup.py bdist_wheel
183193 - name : Install pymgclient
184- run : python3 -m pip install -f dist --no-index pymgclient
194+ run : python${{ matrix.python_version }} -m pip install -f dist --no-index pymgclient
185195 - name : Import mgclient to validate installation
186- run : python3 -c "import mgclient"
196+ run : python${{ matrix.python_version }} -c "import mgclient"
187197 - name : Save artifact name on x86 machines
188198 if : ${{ !contains(matrix.platform, 'ARM64') }}
189199 run : echo "OS_TYPE=${{ matrix.platform }}" >> $GITHUB_ENV
0 commit comments