Skip to content

Linux Test IDAES-PSE Main #50

Linux Test IDAES-PSE Main

Linux Test IDAES-PSE Main #50

Workflow file for this run

name: Linux Test IDAES-PSE Main
on: [workflow_dispatch]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
docker_image: ["eslickj/idaes-ext-centos7-test:latest"]
bin_platform: ["centos7"]
include:
- docker_image: eslickj/idaes-ext-centos7-test:latest
bin_platform: centos7
- docker_image: eslickj/ideas-ext-rocky8-test:latest
bin_platform: rocky8
- docker_image: eslickj/idaes-ext-ubuntu1804-test:latest
bin_platform: ubuntu1804
- docker_image: eslickj/idaes-ext-ubuntu2004-test:latest
bin_platform: ubuntu2004
- docker_image: eslickj/idaes-ext-ubuntu2204-test:latest
bin_platform: ubuntu2204
- docker_image: eslickj/idaes-ext-debian9-test:latest
bin_platform: debian9
- docker_image: eslickj/idaes-ext-debian10-test:latest
bin_platform: debian10
- docker_image: eslickj/idaes-ext-debian11-test:latest
bin_platform: debian11
steps:
- name: Start Docker Container
run: docker run --name test -d -i ${{ matrix.docker_image }} /bin/bash
- name: Install IDAES-PSE
run: |
docker exec test /bin/bash -c 'cd repo
eval "$(/root/miniconda/bin/conda shell.bash hook)"
git clone https://github.com/idaes/idaes-pse.git
cd idaes-pse
git checkout main
conda create -n idaes python=3.9 pip psutil
conda activate idaes
pip install -r requirements-dev.txt
idaes get-extensions --nochecksum --url https://github.com/IDAES/idaes-ext/releases/download/test-release/ --distro ${{ matrix.bin_platform }} --extra petsc'
- name: Test IDAES-PSE
run: |
docker exec test /bin/bash -c '
cd /repo/idaes-pse/idaes
eval "$(/root/miniconda/bin/conda shell.bash hook)"
conda activate idaes
pytest -m "not integration" --ignore=dmf --ignore=commands'