File tree Expand file tree Collapse file tree 4 files changed +18
-8
lines changed Expand file tree Collapse file tree 4 files changed +18
-8
lines changed Original file line number Diff line number Diff line change @@ -36,13 +36,14 @@ jobs:
36
36
- run :
37
37
name : ⚙️ Integration tests
38
38
command : |
39
- julia --project -e 'import Pkg; Pkg.instantiate(); Pkg.update();'
40
39
python -m venv venv
41
40
. venv/bin/activate
42
41
pip install --upgrade pip wheel
43
42
git clone --depth 1 https://github.com/plotly/dash.git -b dev dash-main
44
43
cd dash-main && pip install -e .[ci,dev,testing] --progress-bar off && cd ..
45
- pytest --headless --nopercyfinalize --junitxml=test-reports/dashjl.xml --percy-assets=test/assets/ test/integration/
44
+ cd test/integration
45
+ julia --project -e 'import Pkg; Pkg.develop(path="../../"); Pkg.instantiate(); Pkg.update();'
46
+ pytest --headless --nopercyfinalize --junitxml=../../test-reports/dashjl.xml --percy-assets=../assets/ .
46
47
- store_artifacts :
47
48
path : test-reports
48
49
- store_test_results :
Original file line number Diff line number Diff line change @@ -41,8 +41,10 @@ cd Dash.jl
41
41
git clone --depth 1 https://github.com/plotly/dash.git -b dev dash-main
42
42
python3 -m venv venv
43
43
pip install --upgrade pip wheel
44
- cd dash-main && pip install -e .[ci,dev,testing] && cd ..dash
45
- pytest --headless --nopercyfinalize --percy-assets=test/assets/ test/integration/
44
+ cd dash-main && pip install -e .[ci,dev,testing] && cd ..
45
+ cd test/integration
46
+ julia --project -e ' import Pkg; Pkg.develop(path="../../"); Pkg.instantiate(); Pkg.update();'
47
+ pytest --headless --nopercyfinalize --percy-assets=../assets/ .
46
48
```
47
49
48
50
Alternatively, one can run the integration tests using the same Docker
Original file line number Diff line number Diff line change @@ -77,11 +77,11 @@ chmod +x ./install-chromedriver.sh
77
77
ORB_PARAM_DRIVER_INSTALL_DIR=/usr/local/bin/ ./install-chromedriver.sh
78
78
79
79
# [on 1st session] instantiate julia deps
80
- cd /home/circleci/project/
81
- julia --project -e 'import Pkg; Pkg.instantiate()'
80
+ cd /home/circleci/project/test/integration
81
+ julia --project -e 'import Pkg; Pkg.develop(path="../../"); Pkg. instantiate()'
82
82
83
83
# update julia deps then run integration tests
84
- cd /home/circleci/project/
84
+ cd /home/circleci/project/test/integration
85
85
julia --project -e 'import Pkg; Pkg.update()'
86
- pytest --headless --nopercyfinalize --percy-assets=test /assets/ test/integration/
86
+ pytest --headless --nopercyfinalize --percy-assets=.. /assets/ .
87
87
```
Original file line number Diff line number Diff line change
1
+ [deps ]
2
+ Dash = " 1b08a953-4be3-4667-9a23-3db579824955"
3
+ DashBase = " 03207cf0-e2b3-4b91-9ca8-690cf0fb507e"
4
+ HTTP = " cd3eb016-35fb-5094-929b-558a96fad6f3"
5
+ PlotlyBase = " a03496cd-edff-5a9b-9e67-9cda94a718b5"
6
+ PlotlyJS = " f0f68f2c-4968-5e81-91da-67840de0976a"
7
+ Plots = " 91a5bcdd-55d7-5caf-9e0b-520d859cae80"
You can’t perform that action at this time.
0 commit comments