Skip to content

Merge test and tests folder and clean up files #5023

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -276,24 +276,24 @@ jobs:
name: Build html figures (Pandas 2)
command: |
. venv/bin/activate
python test/percy/plotly-express.py
python tests/percy/plotly-express.py
- run:
name: Build html figures (Pandas 1) and compare
command: |
. venv/bin/activate
mkdir test/percy/pandas2
mv test/percy/*.html test/percy/pandas2/
mkdir tests/percy/pandas2
mv tests/percy/*.html tests/percy/pandas2/
# 1.1 is the earliest minor with Py3.9 wheels
pip install "pandas==1.1.5"
python test/percy/plotly-express.py
python test/percy/compare-pandas.py
rm -rf test/percy/pandas2
python tests/percy/plotly-express.py
python tests/percy/compare-pandas.py
rm -rf tests/percy/pandas2
- run:
name: Run percy snapshots
command: |
npm i @percy/cli
npx percy snapshot -c test/percy/snapshots.yml test/percy/
rm test/percy/*.html
npx percy snapshot -c tests/percy/snapshots.yml tests/percy/
rm tests/percy/*.html

plotlyjs_dev_build:
docker:
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@ tags
doc/check-or-enforce-order.py
plotly/package_data/widgetbundle.js

test/percy/*.html
test/percy/pandas2/*.html
tests/percy/*.html
tests/percy/pandas2/*.html
1 change: 0 additions & 1 deletion test/vv/lib/python2.7/site-packages/plotly/version.py

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# tested with percy.

# this directory
dir_name = os.path.join("test", "percy")
dir_name = os.path.join("tests", "percy")

# #### Scatter and Line plots

Expand Down
File renamed without changes.