Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
Use Windows-compatible installation steps for IDAES extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
lbianchi-lbl committed Nov 20, 2020
1 parent 0c95000 commit 1a9ac66
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,19 @@ jobs:
idaes --version
- name: Install IDAES extensions
run: |
idaes get-extensions --platform ubuntu1804
idaes get-extensions --verbose
# NOTE: these commands are Unix-shell specific
# and will need to be changed if we want to test on CMD.exe/Powershell
find $(idaes data-directory) -ls
# add bin directory to $PATH (only valid for subsequent steps)
echo "$(idaes bin-directory)" >> $GITHUB_PATH
- name: Test access to executables
run: |
if [ "$RUNNER_OS" == "Windows" ]; then
ipopt.exe -v
else
ipopt -v
fi
- name: Run non-integration tests
run: |
pytest --verbose -m "not integration" tests/
Expand Down

0 comments on commit 1a9ac66

Please sign in to comment.