File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 9191 run : |
9292 export RUSTPYTHONPATH=`pwd`/Lib
9393 cargo run -- -m test -v
94+
95+ wasm :
96+ name : Run wasm selenium tests
97+ runs-on : ubuntu-latest
98+ steps :
99+ - uses : actions/checkout@master
100+ - name : install wasm-pack
101+ run : curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
102+ - name : install geckodriver
103+ run : |
104+ wget https://github.com/mozilla/geckodriver/releases/download/v0.24.0/geckodriver-v0.24.0-linux32.tar.gz
105+ mkdir geckodriver
106+ tar -xzf geckodriver-v0.24.0-linux32.tar.gz -C geckodriver
107+ - uses : actions/setup-python@v1
108+ with :
109+ python-version : 3.6
110+ - name : Install pipenv
111+ run : |
112+ python -V
113+ python -m pip install --upgrade pip
114+ python -m pip install pipenv
115+ - run : pipenv install
116+ working-directory : ./wasm/tests
117+ - uses : actions/setup-node@v1
118+ - name : run test
119+ run : |
120+ export PATH=$PATH:`pwd`/../../geckodriver
121+ npm install
122+ npm run test
123+ working-directory : ./wasm/demo
You can’t perform that action at this time.
0 commit comments