Skip to content

Commit

Permalink
Change CI provisioning
Browse files Browse the repository at this point in the history
Sphinx unpinned. lxml pinned as <5 rather than a specific version.

Experimentally, add two workflows: Ubuntu 24.04 and Windows 2022

Signed-off-by: Mats Wichmann <[email protected]>
  • Loading branch information
mwichmann committed May 23, 2024
1 parent 6edc6fc commit 8075e03
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/runtest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This is a basic workflow to help you get started with Actions

name: Linux Testing
name: Full Test Suite

# Controls when the workflow will run
on:
Expand All @@ -20,7 +20,7 @@ jobs:

strategy:
matrix:
os: ['ubuntu-22.04']
os: ['ubuntu-22.04', 'ubuntu-24.04', 'windows-latest']

# The type of runner that the job will run on
runs-on: ${{ matrix.os }}
Expand All @@ -30,10 +30,11 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/[email protected]

- name: Set up Python 3.10 ${{ matrix.os }}
uses: actions/[email protected]
# Defaults are: 22.04 - 3.10, 24.04 - 3.12, windows-latest 3.9
- name: Set up Python 3.12 ${{ matrix.os }}
uses: actions/[email protected]
with:
python-version: '3.10'
python-version: '3.12'

- name: Install dependencies including ninja ${{ matrix.os }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# for now keep pinning "known working" lxml,
# it's been a troublesome component in the past.
# Skip lxml for win32 as no tests which require it currently pass on win32
lxml==4.9.3; python_version < '3.13' and sys_platform != 'win32'
lxml<5; python_version < '3.13' and sys_platform != 'win32'

ninja

Expand Down
2 changes: 1 addition & 1 deletion requirements-pkg.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
readme-renderer

# sphinx pinned because it has broken several times on new releases
sphinx < 7.0
sphinx
sphinx-book-theme
rst2pdf

Expand Down

0 comments on commit 8075e03

Please sign in to comment.