Skip to content

Commit 97d5652

Browse files
committed
github/workflows: Build unix port for docs and run workflow more often.
The unix port is needed to build the docs, due to the cpydiff tests which run both CPython and MicroPython (unix port). That was previously not failing the CI because the output from MicroPython was: /bin/sh: 1: ../ports/unix/build-standard/micropython: not found which doesn't match the CPython output for any of the cpydiff tests, and so it was considered a "pass" in terms of the output differing. Also, run the docs workflow when py/ or tests/cpydiff/ changes, because the cpydiff results may change when the core code changes. Signed-off-by: Damien George <[email protected]>
1 parent dbbaa95 commit 97d5652

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/docs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
pull_request:
66
paths:
77
- docs/**
8+
- py/**
9+
- tests/cpydiff/**
810

911
concurrency:
1012
group: ${{ github.workflow }}-${{ github.ref }}
@@ -19,5 +21,7 @@ jobs:
1921
- uses: actions/setup-python@v5
2022
- name: Install Python packages
2123
run: pip install -r docs/requirements.txt
24+
- name: Build unix port
25+
run: source tools/ci.sh && ci_unix_build_helper
2226
- name: Build docs
2327
run: make -C docs/ html

0 commit comments

Comments
 (0)