Skip to content

Commit 570fd60

Browse files
Try to fix snapshot tests python 3.9
1 parent 956360e commit 570fd60

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

.circleci/config.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,11 @@ commands:
135135
- install-pip-requirements
136136
- run: |
137137
tool/test/start-community-server.sh
138-
python3.9 -m pip install wheel
139-
python3.9 -m pip install --extra-index-url https://repo.typedb.com/public/public-snapshot/python/simple typedb-driver==0.0.0+$(git rev-parse HEAD)
138+
python3 -m pip install wheel
139+
python3 -m pip install --extra-index-url https://repo.typedb.com/public/public-snapshot/python/simple typedb-driver==0.0.0+$(git rev-parse HEAD)
140140
sleep 5
141141
pushd python/tests/deployment/
142-
python3.9 -m unittest test && export TEST_SUCCESS=0 || export TEST_SUCCESS=1
142+
python3 -m unittest test && export TEST_SUCCESS=0 || export TEST_SUCCESS=1
143143
popd
144144
tool/test/stop-community-server.sh
145145
exit $TEST_SUCCESS
@@ -827,9 +827,6 @@ jobs:
827827
bazel-arch: amd64
828828
- run: |
829829
apt update -y && apt install -y software-properties-common
830-
add-apt-repository -y ppa:deadsnakes/ppa
831-
apt update -y && apt install -y python3.9 python3.9-distutils python3-pip software-properties-common
832-
python3.9 -m pip install -U cffi
833830
export SYNC_DEPENDENCIES_TOKEN=$REPO_GITHUB_TOKEN
834831
bazel run @typedb_dependencies//tool/sync:dependencies -- --source ${CIRCLE_PROJECT_REPONAME}@$(cat VERSION)
835832
@@ -895,7 +892,7 @@ workflows:
895892
- test-snapshot-linux-arm64:
896893
filters:
897894
branches:
898-
only: [master, "3.0"]
895+
only: [master]
899896
requires:
900897
- deploy-snapshot-linux-arm64
901898
- deploy-snapshot-any
@@ -904,7 +901,7 @@ workflows:
904901
- test-snapshot-linux-x86_64:
905902
filters:
906903
branches:
907-
only: [master, "3.0"]
904+
only: [master]
908905
requires:
909906
- deploy-snapshot-linux-x86_64
910907
- deploy-snapshot-any
@@ -913,7 +910,7 @@ workflows:
913910
- test-snapshot-mac-arm64:
914911
filters:
915912
branches:
916-
only: [master, "3.0"]
913+
only: [master]
917914
requires:
918915
- deploy-snapshot-mac-arm64
919916
- deploy-snapshot-any
@@ -922,7 +919,7 @@ workflows:
922919
- test-snapshot-mac-x86_64:
923920
filters:
924921
branches:
925-
only: [master, "3.0"]
922+
only: [master]
926923
requires:
927924
- deploy-snapshot-mac-x86_64
928925
- deploy-snapshot-any
@@ -932,7 +929,7 @@ workflows:
932929
# - test-snapshot-windows-x86_64:
933930
# filters:
934931
# branches:
935-
# only: [master, "3.0"]
932+
# only: [master]
936933
# requires:
937934
# - deploy-snapshot-windows-x86_64
938935
# - deploy-snapshot-any
@@ -942,7 +939,7 @@ workflows:
942939
# - test-snapshot-any:
943940
# filters:
944941
# branches:
945-
# only: [master, "3.0"]
942+
# only: [master]
946943
# requires:
947944
# - deploy-snapshot-any
948945

0 commit comments

Comments
 (0)