Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

CI: use circleci #76

Merged
merged 5 commits into from
Dec 17, 2020
Merged

CI: use circleci #76

merged 5 commits into from
Dec 17, 2020

Conversation

stsewd
Copy link
Member

@stsewd stsewd commented Dec 16, 2020

  • Replace travis with circleci
  • Update the drivers to its latest versions
  • Update selenium pytest
  • Test with more versions of sphinx and python
  • Inject the extra js data before the head tag, as latest versions of sphinx don't inject jquery with the tag that the test was using.
  • Fix tests for firefox (this test has always been failing for me locally before moving to circle)

The problem with the test was that it was assuming that the inner real width/height was the same the given by the test, but this doesn't count with extra space generated for window borders, navigation bar, etc (set_viewport_size uses this too).
This was failing only for firefox. Also, the current test was just assuming the margins were the same size (dividing by 2), instead I'm just checking that the margins are almost the same size (since we want to check that the modal is in the middle).

@stsewd stsewd force-pushed the circleci branch 4 times, most recently from 117ba99 to 4dbed8d Compare December 16, 2020 21:20
@stsewd
Copy link
Member Author

stsewd commented Dec 16, 2020

We are almost there :D only one test is falling on firefox, will check tomorrow.

@stsewd stsewd requested a review from a team December 17, 2020 16:38
Copy link
Member

@ericholscher ericholscher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to have these running properly :)

sphinx31: Sphinx<3.2
sphinx32: Sphinx<3.3
sphinx33: Sphinx<3.4
sphinxlatest: Sphinx
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can probably scope this down a bit and only test against the latest release of each version? Similar to python: sphinx1, sphinx2, sphinx3?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed that there was a "half-breaking" change in 2.4 and 2.5 (the jquery change). But I'm +1 on supporting the latest versions of each mayor release. Less time waiting.

@stsewd stsewd merged commit 1d2df4d into master Dec 17, 2020
@stsewd stsewd deleted the circleci branch December 17, 2020 17:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants