Skip to content
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
7 changes: 7 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,13 @@ jobs:
if-no-files-found: ignore
include-hidden-files: true

- name: "Upload Playwright traces, if any 🐾"
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6
if: ${{ failure() }}
with:
name: playwright-traces-${{ matrix.os }}-${{ matrix.python-version }}
path: test-results/

coverage:
name: "Check coverage"
needs: run-pytest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
# calls our docs workflow (build docs, check broken links, lighthouse)
docs:
# Important: make sure to update the SHA after making any changes to the docs workflow
uses: pydata/pydata-sphinx-theme/.github/workflows/docs.yml@ac57147185b6f9400cafbcd852e04345e5e841b7
uses: pydata/pydata-sphinx-theme/.github/workflows/docs.yml@3e74810e3ad3778c179f3f836409540e0a3bf0f1
# only run this workflow for pydata owned repositories (avoid forks)
if: github.repository_owner == 'pydata'

Expand Down
2 changes: 1 addition & 1 deletion docs/community/inspiration.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ When making new decisions about design and UI/UX, we often consult these themes
:grid-columns: 1 2 2 3
:class-container: text-center
- title: "**GitBook**"
link: https://docs.gitbook.com/
link: https://gitbook.com/docs/
image: ../_static/inspiration/GitBook-Icon-Dark.svg
- title: "**Metaflow**"
image: https://raw.githubusercontent.com/Netflix/metaflow/refs/heads/master/docs/metaflow.svg
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def setup(app: Sphinx) -> Dict[str, Any]:
# get a 403 on CI
"https://canvas.workday.com/styles/tokens/type",
"https://unsplash.com/",
r"https://www.gnu.org/software/gettext/.*",
r"https?://www.gnu.org/software/gettext/.*",
]

linkcheck_allowed_redirects = {
Expand Down
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ commands =
# tox run -e compile-assets,i18n-compile,py39-sphinx61-tests
# run tests without coverage
# tox run -e compile-assets,i18n-compile,py39-tests-no-cov
# by default we will retain playwright traces on failure
[testenv:py3{9,10,11,12}{,-sphinx61,-sphinxdev,}-tests{,-no-cov}]
description = "Run tests Python and Sphinx versions. If a Sphinx version is specified, it will use that version vs the default in pyproject.toml"
# need to ensure the package is installed in editable mode
Expand All @@ -75,8 +76,8 @@ allowlist_externals=
bash
commands =
bash -c 'if [[ "{env:GITHUB_ACTIONS:}" == "true" ]]; then playwright install --with-deps; else playwright install; fi'
py3{9,10,11,12}{,-sphinx61,-sphinxdev,}-tests: coverage run -m pytest -m "not a11y" {posargs}
py3{9,10,11,12}{,-sphinx61,-sphinxdev,}-tests-no-cov: pytest -m "not a11y" {posargs}
py3{9,10,11,12}{,-sphinx61,-sphinxdev,}-tests: coverage run -m pytest -m "not a11y" {posargs:--tracing=retain-on-failure}
py3{9,10,11,12}{,-sphinx61,-sphinxdev,}-tests-no-cov: pytest -m "not a11y" {posargs:--tracing=retain-on-failure}

# run accessibility tests with Playwright and axe-core
# compiling the assets is needed before running the tests
Expand Down
Loading