Skip to content

Commit f76aaa9

Browse files
committed
CI: test different mpmath
We want the matrix to have empty mpmath in most cases, in case SymPy has pins.
1 parent b051224 commit f76aaa9

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/main.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,25 +87,42 @@ jobs:
8787
matrix:
8888
octave: [10.3.0]
8989
sympy: [1.9, 1.10.1, 1.11.1, 1.12.1, 1.13.0, 1.13.3, 1.14.0]
90+
mpmath: [""] # blank means SymPy pin in effect
9091
include:
9192
- octave: 10.2.0
9293
sympy: 1.14.0
94+
mpmath:
9395
- octave: 10.1.0
9496
sympy: 1.14.0
97+
mpmath:
9598
- octave: 9.4.0
9699
sympy: 1.14.0
100+
mpmath:
97101
- octave: 9.3.0
98102
sympy: 1.14.0
103+
mpmath:
99104
- octave: 9.2.0
100105
sympy: 1.14.0
106+
mpmath:
101107
- octave: 9.1.0
102108
sympy: 1.14.0
109+
mpmath:
110+
- octave: 10.3.0
111+
sympy: 1.14.0
112+
mpmath: 1.4.0
113+
- octave: 10.3.0
114+
sympy: 1.14.0
115+
mpmath: 1.3.0
116+
- octave: 10.3.0
117+
sympy: 1.14.0
118+
mpmath: 1.2.1
103119
steps:
104120
- uses: actions/checkout@v5
105121
- name: Container setup
106122
env:
107123
OCT: ${{ matrix.octave }}
108124
SYMPY: ${{ matrix.sympy }}
125+
MPMATH: ${{ matrix.mpmath }}
109126
run: |
110127
uname -a
111128
docker pull docker.io/gnuoctave/octave:$OCT
@@ -121,6 +138,10 @@ jobs:
121138
echo $A
122139
docker exec oc pip install --break-system-packages packaging
123140
docker exec oc pip install --break-system-packages sympy==$SYMPY
141+
echo $MPMATH
142+
if [[ -n "$MPMATH" ]]; then
143+
docker exec oc pip install --break-system-packages mpmath==$MPMATH
144+
fi
124145
docker exec oc octave-cli --eval "pkg install -forge doctest"
125146
- name: Run BIST in-place
126147
run: docker exec oc make -C octsympy test

0 commit comments

Comments
 (0)