-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix-issue-1205
- Loading branch information
Showing
156 changed files
with
2,831 additions
and
739 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# This workflow targets stable released dependencies from EDM. | ||
# Note that some packages may not actually be installed from EDM but from | ||
# PyPI, see etstool.py implementations. | ||
|
||
name: Build docs with EDM | ||
|
||
on: [pull_request, workflow_dispatch] | ||
|
||
env: | ||
INSTALL_EDM_VERSION: 3.5.0 | ||
QT_MAC_WANTS_LAYER: 1 | ||
|
||
jobs: | ||
|
||
# Build docs using EDM packages | ||
docs-with-edm: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
toolkit: ['pyside6'] | ||
fail-fast: false | ||
timeout-minutes: 20 # should be plenty, it's usually < 5 | ||
runs-on: ${{ matrix.os }} | ||
env: | ||
# Set root directory, mainly for Windows, so that the EDM Python | ||
# environment lives in the same drive as the cloned source. Otherwise | ||
# 'pip install' raises an error while trying to compute | ||
# relative path between the site-packages and the source directory. | ||
EDM_ROOT_DIRECTORY: ${{ github.workspace }}/.edm | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Qt dependencies | ||
uses: ./.github/actions/install-qt-support | ||
if: matrix.toolkit != 'wx' | ||
- name: Cache EDM packages | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.cache | ||
key: ${{ runner.os }}-${{ matrix.toolkit }}-${{ hashFiles('etstool.py') }} | ||
- name: Setup EDM | ||
uses: enthought/setup-edm-action@v2 | ||
with: | ||
edm-version: ${{ env.INSTALL_EDM_VERSION }} | ||
- name: Install click to the default EDM environment | ||
run: edm install -y wheel click coverage | ||
- name: Install test environment | ||
run: edm run -- python etstool.py install --toolkit=${{ matrix.toolkit }} | ||
- name: Build docs | ||
run: xvfb-run -a edm run -- python etstool.py docs --toolkit=${{ matrix.toolkit }} | ||
- name: Archive HTML docs | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: html-doc-bundle | ||
path: docs/build/html | ||
# don't need these kept for long | ||
retention-days: 7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ | |
build/ | ||
dist/ | ||
docs/build/ | ||
docs/source/api | ||
|
||
# Auto-generated by setup.py | ||
pyface/_version.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.