Skip to content

Commit

Permalink
Add Python 3.12 test coverage (#253)
Browse files Browse the repository at this point in the history
* Add Python 3.12 test coverage

* Sort import
  • Loading branch information
garth-wells authored Feb 1, 2024
1 parent 929a679 commit 7b85c8e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/fenicsx-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
PETSC_ARCH: linux-gnu-real-64

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: 3.9

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Lint with flake8
Expand Down
3 changes: 2 additions & 1 deletion ufl/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#
# Modified by Nacime Bouziani, 2021-2022.

from itertools import chain

from ufl.algebra import Sum
from ufl.argument import Argument, Coargument
from ufl.coefficient import BaseCoefficient, Coefficient, Cofunction
Expand All @@ -16,7 +18,6 @@
from ufl.differentiation import CoefficientDerivative
from ufl.form import BaseForm, Form, FormSum, ZeroBaseForm
from ufl.matrix import Matrix
from itertools import chain

# --- The Action class represents the action of a numerical object that needs
# to be computed at assembly time ---
Expand Down

0 comments on commit 7b85c8e

Please sign in to comment.