-
Notifications
You must be signed in to change notification settings - Fork 449
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9e9d37e
commit ac4c1e2
Showing
15 changed files
with
111 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ jobs: | |
run: | ||
shell: scl enable devtoolset-7 -- bash --noprofile --norc -eo pipefail {0} | ||
container: | ||
image: registry.cn-hongkong.aliyuncs.com/graphscope/graphscope-vineyard:latest | ||
image: registry.cn-hongkong.aliyuncs.com/graphscope/graphscope-vineyard:v0.1.5 | ||
options: | ||
--shm-size 4096m | ||
strategy: | ||
|
@@ -133,7 +133,7 @@ jobs: | |
defaults: | ||
run: | ||
shell: scl enable devtoolset-7 -- bash --noprofile --norc -eo pipefail {0} | ||
container: registry.cn-hongkong.aliyuncs.com/graphscope/graphscope-vineyard:latest | ||
container: registry.cn-hongkong.aliyuncs.com/graphscope/graphscope-vineyard:v0.1.5 | ||
steps: | ||
- name: Install Dependencies | ||
run: | | ||
|
@@ -173,7 +173,7 @@ jobs: | |
defaults: | ||
run: | ||
shell: scl enable devtoolset-7 -- bash --noprofile --norc -eo pipefail {0} | ||
container: registry.cn-hongkong.aliyuncs.com/graphscope/graphscope-vineyard:latest | ||
container: registry.cn-hongkong.aliyuncs.com/graphscope/graphscope-vineyard:v0.1.5 | ||
steps: | ||
- name: Install Dependencies | ||
run: | | ||
|
@@ -284,10 +284,14 @@ jobs: | |
- uses: actions/[email protected] | ||
|
||
- uses: actions/download-artifact@v2 | ||
- name: Prepare environment | ||
|
||
- name: Prepare environment for dataset | ||
run: | | ||
export GS_TEST_DIR='/root/gstest' | ||
git clone -b master --single-branch --depth=1 https://github.com/7br/gstest.git ${GS_TEST_DIR} | ||
- name: Prepare environment for deps | ||
run: | | ||
python3 -m pip install pytest-cov | ||
tar -xf ./gae-${{ github.sha }}/gae.tar | ||
tar -xf ./gle-${{ github.sha }}/gle.tar | ||
|
@@ -302,11 +306,16 @@ jobs: | |
- name: App Test with Expr Off | ||
if: matrix.experimental == 'OFF' | ||
run: | | ||
# prelaunch the etcd | ||
/usr/local/bin/etcd --data-dir=/dev/shm/default.etcd & | ||
export GS_TEST_DIR='/root/gstest' | ||
cd python | ||
python3 -m pytest --cov=graphscope --cov-config=.coveragerc --cov-report=xml \ | ||
--cov-report=term --exitfirst -s -v tests | ||
pkill -TERM etcd || true | ||
- name: Upload Coverage | ||
if: matrix.experimental == 'OFF' | ||
uses: codecov/codecov-action@v1 | ||
|
@@ -317,12 +326,17 @@ jobs: | |
- name: App Test with Expr On | ||
if: matrix.experimental == 'ON' | ||
run: | | ||
# prelaunch the etcd | ||
/usr/local/bin/etcd --data-dir=/dev/shm/default.etcd & | ||
export GS_TEST_DIR='/root/gstest' | ||
python3 -m pytest --exitfirst -s -v python/graphscope/experimental/nx/tests/classes | ||
python3 -m pytest --exitfirst -s -v python/graphscope/experimental/nx/tests/test_nx.py | ||
python3 -m pytest --exitfirst -s -v python/graphscope/experimental/nx/tests/algorithms/builtin \ | ||
python/graphscope/experimental/nx/tests/test_utils.py | ||
pkill -TERM etcd || true | ||
k8s-test: | ||
runs-on: self-hosted | ||
needs: [build-gae, build-gie, build-gle, build-manager] | ||
|
@@ -368,9 +382,9 @@ jobs: | |
--network=host \ | ||
-f ./manager.Dockerfile . | ||
popd | ||
sudo python3 -m pip install -r python/requirements.txt | ||
sudo python3 -m pip install -r python/requirements-dev.txt | ||
sudo python3 -m pip install pytest-cov | ||
python3 -m pip install -r python/requirements.txt --user | ||
python3 -m pip install -r python/requirements-dev.txt --user | ||
python3 -m pip install pytest-cov --user | ||
pushd python && sudo -E python3 setup.py develop && popd | ||
- name: Kubernetes test | ||
|
@@ -446,9 +460,9 @@ jobs: | |
--network=host \ | ||
-f ./manager.Dockerfile . | ||
popd | ||
sudo python3 -m pip install -r python/requirements.txt | ||
sudo python3 -m pip install -r python/requirements-dev.txt | ||
sudo python3 -m pip install pytest-cov | ||
python3 -m pip install -r python/requirements.txt | ||
python3 -m pip install -r python/requirements-dev.txt | ||
python3 -m pip install pytest-cov | ||
pushd python && sudo -E python3 setup.py develop && popd | ||
- name: Run function test | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.