Skip to content
Open
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
63 changes: 63 additions & 0 deletions .github/workflows/runtest-next.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# One-off canary: try newly available runner (ubuntu-26.04) + newly
# released Python (3.15.0). Won't turn CI red if fails.

name: Next Test Suite

on: [push, pull_request, workflow_dispatch]

concurrency:
group: ${{ github.workflow }}|${{ github.ref_name }}
cancel-in-progress: true

defaults:
run:
shell: bash

jobs:
runtest-next:
continue-on-error: true
strategy:
fail-fast: false
matrix:
os: [ubuntu-26.04]
python: ["3.15"]
runs-on: ${{ matrix.os }}
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v7

- name: Setup Python
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python }}
cache: pip

- name: Install dev dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --group dev

- name: Setup Ubuntu dependencies
run: |
sudo apt-get update
sudo apt-get -y install libtirpc-dev
sudo apt-get -y install docbook-xml docbook-xsl xsltproc docbook-xsl-doc-pdf ghostscript gdc gettext fop
sudo apt-get -y --no-install-recommends install texlive biber texmaker texlive-latex-base texlive-latex-extra texlive-bibtex-extra texlive-plain-generic texlive-font-utils texlive-fonts-recommended latexmk

- name: Setup excluded tests
run: |
touch .excludes
cat .excludes

- name: Run tests
id: run-tests
run: |
python runtest.py SCons test testing --time --jobs=0 --exclude-list=.excludes

- name: Archive failed tests
uses: actions/upload-artifact@v7
if: always() && steps.run-tests.outcome == 'failure'
with:
name: ${{ matrix.os }}-${{ matrix.python }}-failed-tests
path: failed_tests.log
10 changes: 7 additions & 3 deletions .github/workflows/runtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,18 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v7

- name: Setup Python
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python }}
cache: pip
pip-install: --group dev

- name: Install dev dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --group dev

- name: Setup Ubuntu dependencies
if: startsWith(matrix.os, 'ubuntu')
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/scons-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,18 @@ jobs:
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Set up Python 3.14
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: '3.14'
cache: 'pip'

- name: Install dependencies
run: |
python -m pip install --group pkg
python -m pip install --progress-bar off --upgrade pip setuptools wheel
#python -m pip install flake8 pytest
if [ -f requirements-pkg.txt ]; then pip install --progress-bar off -r requirements-pkg.txt; elif [ -f requirements.txt ]; then pip install --progress-bar off -r requirements.txt; fi
sudo apt-get update
sudo apt-get -y install docbook-xml docbook-xsl xsltproc fop docbook-xsl-doc-pdf
# try to keep the texlive install as small as we can to save some time/space
Expand Down
Loading