Skip to content

Commit

Permalink
Hopefully fix CI test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
object-Object committed Nov 21, 2023
1 parent f29e206 commit 602b94d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
Expand Down
5 changes: 4 additions & 1 deletion src/hexdoc/cli/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,10 @@ def render(
version=plugin.mod_version if release else f"latest/{branch}",
site_path=site_path,
png_textures=PNGTexture.get_lookup(context.textures),
animations=list(AnimatedTexture.get_lookup(context.textures).values()),
animations=sorted( # this MUST be sorted to avoid flaky tests
AnimatedTexture.get_lookup(context.textures).values(),
key=lambda t: t.css_class,
),
versioned=release,
)

Expand Down

0 comments on commit 602b94d

Please sign in to comment.