Skip to content

Commit

Permalink
CI: Use pip install instead of setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed Nov 3, 2023
1 parent e1faa40 commit 4c706ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .ci_support/run_docker_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pip install -r /io/doc/requirements.txt --break-system-packages

cp -r /io/* /tmp
cd /tmp
python setup.py install --user
pip install . --user --break-system-packages
~/.local/bin/mo2fmu -h
~/.local/bin/mo2fmu ./otfmi/example/file/deviation.mo ./otfmi/example/file/fmu/linux64/deviation.fmu
pytest test -s
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
shell: bash -l {0}
run: |
conda install -y pyfmi openturns pytest jinja2 omcompiler
python setup.py install
pip install .
mo2fmu -h
mo2fmu ./otfmi/example/file/deviation.mo ./otfmi/example/file/fmu/linux64/deviation.fmu
pytest test -s
Expand All @@ -53,7 +53,7 @@ jobs:
$env:PATH += ";C:\Program Files\OpenModelica1.21.0-64bit\bin"
omc --version
conda install -y pyfmi openturns pytest jinja2
python setup.py install
pip install .
mo2fmu -h
pytest test -s

0 comments on commit 4c706ee

Please sign in to comment.