Skip to content

Commit 24ceda8

Browse files
committed
.
1 parent 741d3ee commit 24ceda8

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/build-multiarch.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,13 @@ jobs:
6868
install: |
6969
if [[ "${{ matrix.distro }}" == "alpine_latest" ]]; then
7070
apk update
71-
apk add python3 py3-pip py3-scipy py3-matplotlib py3-numpy py3-pandas
71+
# py3-sqlalchemy is required for dev/dump_UNIFAC_assignments_to_sqlite.py
72+
apk add python3 py3-pip py3-scipy py3-matplotlib py3-numpy py3-pandas py3-sqlalchemy
7273
elif [[ "${{ matrix.distro }}" == "ubuntu_latest" || "${{ matrix.distro }}" == "ubuntu_rolling" || "${{ matrix.distro }}" == "ubuntu_devel" || "${{ matrix.distro }}" == "ubuntu20.04" || "${{ matrix.distro }}" == "ubuntu22.04" || "${{ matrix.distro }}" == "bookworm" ]]; then
7374
apt-get update
7475
# Install libatlas-base-dev if available (not available on some architectures like riscv64)
75-
apt-get install -y liblapack-dev gfortran libgmp-dev libmpfr-dev libsuitesparse-dev ccache libmpc-dev python3 python3-pip python3-scipy python3-matplotlib python3-numpy python3-pandas
76+
# python3-sqlalchemy is required for dev/dump_UNIFAC_assignments_to_sqlite.py
77+
apt-get install -y liblapack-dev gfortran libgmp-dev libmpfr-dev libsuitesparse-dev ccache libmpc-dev python3 python3-pip python3-scipy python3-matplotlib python3-numpy python3-pandas python3-sqlalchemy
7678
apt-get install -y libatlas-base-dev || true
7779
fi
7880
run: |
@@ -83,12 +85,14 @@ jobs:
8385
pip3 install .
8486
python3 dev/dump_UNIFAC_assignments_to_sqlite.py
8587
pip3 uninstall -y thermo
88+
rm -rf build/
8689
else
8790
# If the exit status is 1 (False), this means the option is supported
8891
python3 -m pip install wheel --break-system-packages
8992
pip3 install -r requirements_test_multiarch.txt --break-system-packages
9093
pip3 install . --break-system-packages
9194
python3 dev/dump_UNIFAC_assignments_to_sqlite.py
9295
pip3 uninstall -y thermo --break-system-packages
96+
rm -rf build/
9397
fi
9498
python3 -m pytest . -v -m "not online and not sympy and not numba and not CoolProp and not fuzz and not deprecated and not slow"

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ jobs:
139139
- name: Uninstall thermo
140140
run: |
141141
pip uninstall -y thermo
142+
rm -rf build/
142143
- name: Test with pytest
143144
run: |
144145
pytest . -v --cov-report html --cov=thermo --cov-report term-missing -m "not online and not sympy and not numba and not CoolProp and not fuzz and not deprecated and not slow"

.github/workflows/build_multi_numpy_scipy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ jobs:
115115
- name: Uninstall thermo
116116
run: |
117117
pip uninstall -y thermo
118+
rm -rf build/
118119
- name: Test with pytest
119120
run: |
120121
pytest . -v --cov-report html --cov=thermo --cov-report term-missing -m "not online and not sympy and not numba and not CoolProp and not fuzz and not deprecated and not slow"

0 commit comments

Comments
 (0)