Add draft of pyproject.toml #35
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run dummy test case | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
run_fmu_dummy: | |
name: Run FMU dummy | |
runs-on: ubuntu-latest | |
container: precice/precice | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Install Dependencies | |
run: | | |
apt-get -qq update | |
apt-get -qq install python3-dev python3-pip git python-is-python3 pkg-config | |
python -m pip install --upgrade pip | |
pip install fmpy | |
- name: Install fmiprecice | |
run: | | |
pip3 install --user . | |
- name: Run coupling of two Dummy FMUs | |
timeout-minutes: 3 | |
run: | | |
cd tests/ | |
cd SolverOne/ && python3 ../../fmiprecice/runner.py ./fmi-settings.json ./precice-settings.json & cd SolverTwo/ && python3 ../../fmiprecice/runner.py ./fmi-settings.json ./precice-settings.json | |
- name: Check the result | |
timeout-minutes: 3 | |
run: | | |
cd tests/ | |
python3 test.py |