This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
MegEngine
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
31
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
ci(imperative): run imperative python test
tags/v1.0.0-rc1
Megvii Engine Team
4 years ago
parent
60778d1071
commit
ce55fbf62b
3 changed files
with
5 additions
and
5 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
.github/workflows/ci-cpu.yml
+1
-1
.github/workflows/ci-cuda.yml
+3
-3
ci/run_python_test.sh
+ 1
- 1
.github/workflows/ci-cpu.yml
View File
@@ -20,6 +20,6 @@ jobs:
- name: Build MegEngine
run: ./ci/cmake.sh cpu
- name: Python test
run: ./ci/run_python_test.sh
run: ./ci/run_python_test.sh
cpu
- name: C++ test
run: ./ci/run_cpp_test.sh cpu
+ 1
- 1
.github/workflows/ci-cuda.yml
View File
@@ -26,6 +26,6 @@ jobs:
- name: Build MegEngine
run: ./ci/cmake.sh cuda
- name: Python test
run: ./ci/run_python_test.sh
run: ./ci/run_python_test.sh
cuda
- name: C++ test
run: ./ci/run_cpp_test.sh cuda
+ 3
- 3
ci/run_python_test.sh
View File
@@ -7,11 +7,11 @@ BASEDIR=$(readlink -f "$(dirname "$0")"/..)
function python_test() {
pip3 install --upgrade pip
pushd "${BASEDIR}"/python
_module
>/dev/null
pushd "${BASEDIR}"/
imperative/
python >/dev/null
pip3 install -e '.[ci]'
export PYTHONPATH=.
./test/run.sh
./test/run.sh
$1
popd >/dev/null
}
python_test
python_test
$1
Write
Preview
Loading…
Cancel
Save