Skip to content

Commit

Permalink
Update regression tests to Python 3.10, 3.11, and 3.12 using actions/…
Browse files Browse the repository at this point in the history
…setup-python.
  • Loading branch information
d-cogswell committed Aug 28, 2024
1 parent 9653680 commit fa3d541
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 18 deletions.
20 changes: 3 additions & 17 deletions .github/workflows/mpet-regression-test-sourceforge-daetools.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: MPET regression test with daetools 2.2.0 from sourceforge on python 3.10
name: MPET regression test with daetools from sourceforge

on: [push, workflow_dispatch]

Expand All @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10"]
python-version: ["3.10", "3.11", "3.12"]
defaults:
run:
shell: bash -l {0}
Expand All @@ -20,25 +20,11 @@ jobs:
fetch-depth: 1
path: mpet

- uses: conda-incubator/setup-miniconda@v3
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
mamba-version: "*"
channels: conda-forge,defaults
activate-environment: mpet-env

- name: Install dependencies for daetools
run: |
mamba install numpy scipy matplotlib pyqt lxml pandas h5py openpyxl
- name: Install daetools from sourceforge
run: |
curl -L 'https://master.dl.sourceforge.net/project/daetools/daetools/2.2.0/daetools-2.2.0-gnu_linux-x86_64.zip' -o dae.zip
unzip dae.zip
cd daetools*
python setup.py install
- name: Install additional dependencies using mpet's setup.py
run: |
cd mpet
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mpet-regression-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8","3.9","3.10","3.11"]
python-version: ["3.8","3.9"]
defaults:
run:
shell: bash -l {0}
Expand Down

0 comments on commit fa3d541

Please sign in to comment.