@@ -25,17 +25,12 @@ jobs:
2525 runs-on : ${{ matrix.os }}
2626 strategy :
2727 matrix :
28- os : [ubuntu-latest]
29- python-version : ["3.10", "3.11", "3.12", "3.13"]
30- include :
31- - os : windows-2022
32- python-version : " 3.11"
33- - os : macos-latest
34- python-version : " 3.12"
28+ os : ["windows-2022", "ubuntu-latest", "macos-latest"]
29+ python-version : ["3.11", "3.12", "3.13", "3.14"]
3530
3631 steps :
3732 - name : Checkout FFCx
38- uses : actions/checkout@v5
33+ uses : actions/checkout@v6
3934
4035 - name : Set up Python
4136 uses : actions/setup-python@v6
4439
4540 - name : Export GitHub Actions cache environment variables (Windows)
4641 if : runner.os == 'Windows'
47- uses : actions/github-script@v8
42+ uses : actions/github-script@v9
4843 with :
4944 script : |
5045 core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
@@ -85,14 +80,14 @@ jobs:
8580 if : runner.os != 'Linux'
8681 run : pip install .[ci]
8782
88- - name : Static check with mypy
89- run : mypy -p ffcx
90-
9183 - name : ruff checks
9284 run : |
9385 ruff check .
9486 ruff format --check .
9587
88+ - name : Static check with mypy
89+ run : mypy -p ffcx
90+
9691 - name : Run unit tests
9792 run : >
9893 python -m pytest test/
@@ -109,7 +104,7 @@ jobs:
109104 continue-on-error : true
110105
111106 - name : Upload pytest results
112- uses : actions/upload-artifact@v4
107+ uses : actions/upload-artifact@v7
113108 with :
114109 name : pytest-results-${{ matrix.os }}-${{ matrix.python-version }}
115110 path : junit/test-results-${{ matrix.os }}-${{ matrix.python-version }}.xml
@@ -122,15 +117,17 @@ jobs:
122117 uses : ilammy/msvc-dev-cmd@v1
123118
124119 - name : Run FFCx demos
125- run : |
120+ run : >
126121 pytest demo/test_demos.py
122+ -W error
123+ # -n auto
127124
128125 - name : Build documentation
129126 run : |
130127 cd doc
131- make html
128+ python -m sphinx -W -b html source/ build/html/
132129 - name : Upload documentation artifact
133- uses : actions/upload-artifact@v4
130+ uses : actions/upload-artifact@v7
134131 with :
135132 name : doc-${{ matrix.os }}-${{ matrix.python-version }}
136133 path : doc/build/html/
@@ -139,7 +136,7 @@ jobs:
139136
140137 - name : Checkout FEniCS/docs
141138 if : ${{ github.repository == 'FEniCS/ffcx' && ( github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') ) && runner.os == 'Linux' && matrix.python-version == 3.12 }}
142- uses : actions/checkout@v5
139+ uses : actions/checkout@v6
143140 with :
144141 repository : " FEniCS/docs"
145142 path : " docs"
0 commit comments