Skip to content

Migrate circle gha (config) #3743

Open
T4rk1n wants to merge 21 commits intodevfrom
migrate-gha
Open

Migrate circle gha (config) #3743
T4rk1n wants to merge 21 commits intodevfrom
migrate-gha

Conversation

@T4rk1n
Copy link
Copy Markdown
Contributor

@T4rk1n T4rk1n commented Apr 15, 2026

Migrate the circleci testing config to github action. Config only from #3655, the browser changes will come in another PR.

@github-actions
Copy link
Copy Markdown

Thank you for your contribution to Dash! 🎉

Copy link
Copy Markdown
Contributor

@camdecoster camdecoster left a comment

Choose a reason for hiding this comment

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

I left a few comments, but this looks good.

@@ -17,6 +17,8 @@ jobs:
# This output will be 'true' if files in the 'table_related_paths' list changed, 'false' otherwise.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
# This output will be 'true' if files in the 'table_related_paths' list changed, 'false' otherwise.

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It might be good to throw this value in a variable.

pytest --headless --nopercyfinalize --junitxml=test-reports/junit_background.xml tests/background_callback -v -s

- name: Cleanup background processes
if: always()
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Does this mean it will always run? If so, could you remove this line?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think you could move some of the repeated steps into composite actions and then call those to DRY things up.

Comment on lines +25 to +31
(
"auto",
False,
True,
None,
None,
), # NOT responsive on resize: config.responsive=False
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ruff probably did this, but it would be nice to have these on one line.

@@ -89,6 +89,8 @@ def test_tdrp001_select_rows(test):
target.row(0).select()
target.row(1).select()

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If this is for Chrome to stabilize, could you add a note?

)


@pytest.mark.skip(reason="Slow and unreliable sizing tests")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
@pytest.mark.skip(reason="Slow and unreliable sizing tests")
@pytest.mark.skip(reason="Slow and unreliable sizing tests - dash-table deprecated")

)


@pytest.mark.skip(reason="Slow and unreliable sizing tests")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
@pytest.mark.skip(reason="Slow and unreliable sizing tests")
@pytest.mark.skip(reason="Slow and unreliable sizing tests - dash-table deprecated")

)


@pytest.mark.skip(reason="Slow and unreliable sizing tests")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
@pytest.mark.skip(reason="Slow and unreliable sizing tests")
@pytest.mark.skip(reason="Slow and unreliable sizing tests - dash-table deprecated")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants