Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue1385 update dymola unit tests #1399

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ jobs:
runs-on: blizz
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event"
- run: echo "🐧 This job is now running on a ${{ runner.os }} server called tony-de-rekenpony hosted by The Sysis team at KU Leuven"
- run: echo "🐧 This job is now running on a ${{ runner.os }} server called blizzard hosted by The Sysis team at KU Leuven"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}"
- run: echo "The following commands are used to remove files inside container to ensure cleanup and avoid permission errors"
- run: docker stop dymimg > /dev/null 2>&1 || true
- run: docker run --name dymimg --detach=true --rm -v /home/u0148284/actions-runner/_work/IDEAS/IDEAS:/home/developer/IDEAS -w /home/developer/IDEAS -it dymimg
- run: docker run --name dymimg --detach=true --rm -v /home/UnitTests_IDEAS/actions-runner/_work/IDEAS/IDEAS:/home/developer/IDEAS -w /home/developer/IDEAS -it dymimg
- run: docker exec -t dymimg /bin/bash -c "rm -rf IDEAS && exit"
- run: docker stop dymimg > /dev/null 2>&1 || true
- name: Check out repository code
uses: actions/checkout@v3
with:
clean: true
- name: Change permissions of repository folder
run: chmod -R 777 /home/u0148284/actions-runner/_work
run: chmod -R 777 /home/UnitTests_IDEAS/actions-runner/_work
- name: List of files in the repository
run: |
ls ${{ github.workspace }}
Expand Down
6 changes: 3 additions & 3 deletions IDEAS/Resources/Scripts/tests/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
# DYMOLAVERSION - specifies the Dymola version.
# For example:
# DYMOLAPATH=/home/developer/dymola
# DYMOLAFILE=Dymola_2022x.AM_CAT_Dymola.Linux64.1-1.zip
# DYMOLAVERSION=dymola-2022x-x86_64
# DYMOLAFILE=Dymola_20224.AM_CAT_Dymola.Linux64.1-1.zip
# DYMOLAVERSION=dymola-2024x-x86_64

# Start with a base Ubuntu image
FROM ubuntu:20.04
# This is the Focal Fossa ubuntu version
MAINTAINER Javier Arroyo <javier.arroyo@kuleuven.be>
MAINTAINER Louis Hermans <louis.hermans@kuleuven.be>

# Avoid warnings while installing ubuntu
# debconf: unable to initialize frontend: Dialog
Expand Down
4 changes: 2 additions & 2 deletions IDEAS/Resources/Scripts/tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ For example, you can set these environment variables as follows (note that the s
change in your case):
```bash
export DYMOLAPATH=/path/to/dymola/folder
export DYMOLAFILE=Dymola_2022x.AM_CAT_Dymola.Linux64.1-1.zip
export DYMOLAVERSION=dymola-2022x-x86_64
export DYMOLAFILE=Dymola_2024x.AM_CAT_Dymola.Linux64.1-1.zip
export DYMOLAVERSION=dymola-2024x-x86_64
```

### 3. Build the image
Expand Down
Loading