Skip to content

Commit

Permalink
test vineyard storage only in vineyard platfrom testing
Browse files Browse the repository at this point in the history
  • Loading branch information
acezen committed Feb 3, 2021
1 parent a4dcdb2 commit dbebd14
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 21 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/core-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,16 +80,6 @@ jobs:
retry ./.github/workflows/download-etcd.sh
conda list -n test
# install etcd
mkdir -p /tmp/etcd-download-test
export ETCD_VER=v3.4.13
export ETCD_DOWNLOAD_URL=https://github.com/etcd-io/etcd/releases/download
curl -L $ETCD_DOWNLOAD_URL/$ETCD_VER/etcd-$ETCD_VER-linux-amd64.tar.gz -o /tmp/etcd-$ETCD_VER-linux-amd64.tar.gz
tar xzvf /tmp/etcd-$ETCD_VER-linux-amd64.tar.gz -C /tmp/etcd-download-test --strip-components=1
sudo mv /tmp/etcd-download-test/etcd /usr/local/bin/
sudo mv /tmp/etcd-download-test/etcdctl /usr/local/bin/
rm -fr /tmp/etcd-$ETCD_VER-linux-amd64.tar.gz /tmp/etcd-download-test
- name: Lint with flake8
shell: bash
if: success() && matrix.with-flake8 == 1
Expand Down
11 changes: 1 addition & 10 deletions .github/workflows/platform-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,6 @@ jobs:
fi
conda list -n test
# install etcd
mkdir -p /tmp/etcd-download-test
export ETCD_VER=v3.4.13
export ETCD_DOWNLOAD_URL=https://github.com/etcd-io/etcd/releases/download
curl -L $ETCD_DOWNLOAD_URL/$ETCD_VER/etcd-$ETCD_VER-linux-amd64.tar.gz -o /tmp/etcd-$ETCD_VER-linux-amd64.tar.gz
tar xzvf /tmp/etcd-$ETCD_VER-linux-amd64.tar.gz -C /tmp/etcd-download-test --strip-components=1
sudo mv /tmp/etcd-download-test/etcd /usr/local/bin/
sudo mv /tmp/etcd-download-test/etcdctl /usr/local/bin/
rm -fr /tmp/etcd-$ETCD_VER-linux-amd64.tar.gz /tmp/etcd-download-test
- name: Build cython extensions
env:
WITH_CYTHON: ${{ matrix.with-cython }}
Expand Down Expand Up @@ -137,6 +127,7 @@ jobs:
fi
if [ -n "$WITH_VINEYARD" ]; then
export VINEYARD_IPC_SOCKET=/tmp/vineyard/vineyard.sock
pytest $PYTEST_CONFIG --cov-config .coveragerc-threaded mars/storage/tests/test_libs.py
pytest $PYTEST_CONFIG --cov-config .coveragerc-threaded mars/dataframe/datastore/tests/test_datastore_execute.py \
mars/tensor/datastore/tests/test_datastore_execute.py -k "vineyard"
pytest $PYTEST_CONFIG --cov-config .coveragerc-threaded mars/deploy/local/tests/test_cluster.py -k "VineyardEnabledTest"
Expand Down
1 change: 0 additions & 1 deletion requirements-extra.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ protobuf>=3.6
gevent>=1.2.0,<21.1.0
bokeh>=1.0.0
jinja2>=2.0
vineyard==0.1.9

0 comments on commit dbebd14

Please sign in to comment.