Skip to content

Commit

Permalink
Take across the playwright doc tests into build_docs.yml from build_n…
Browse files Browse the repository at this point in the history
…ew_docs.yml
  • Loading branch information
tronical committed Nov 14, 2024
1 parent 8d6a670 commit 5354040
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,22 @@ jobs:
cp -r target/aarch64-linux-android/doc/i_slint_backend_android_activity/ target/doc/
cp -r target/aarch64-linux-android/doc/i_slint_backend_winit/ target/doc/
cp -r target/aarch64-linux-android/doc/i_slint_backend_testing/ target/doc/
- name: "Generate Screenshots for Example Snippets"
working-directory: docs
run: cargo run -p slint-docsnapper -- src/content --overwrite
- name: "Install Node dependencies for Slint and Node docs"
run: pnpm install --frozen-lockfile
- name: "Slint Language Documentation"
run: cargo xtask slintdocs
# Test docs
- name: Run Playwright tests
working-directory: docs
run: pnpm exec playwright test
- name: Publish Test Summary Results
working-directory: docs
run: npx github-actions-ctrf playwright-report/ctrf-report.json

- name: "Node docs"
run: pnpm run docs
working-directory: api/node
Expand Down

0 comments on commit 5354040

Please sign in to comment.