Skip to content

Commit

Permalink
Merge pull request #1361 from open-ideas/issue1360_newActionsRunner
Browse files Browse the repository at this point in the history
Issue1360 new actions runner
  • Loading branch information
louisher authored May 30, 2024
2 parents b13fe57 + 10a0761 commit c5cfb8e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,28 @@ on:
pull_request:
jobs:
build:
runs-on: self-hosted
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 "🔎 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/actions-runner/_work/IDEAS/IDEAS:/home/developer/IDEAS -w /home/developer/IDEAS -it dymimg
- 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 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/actions-runner/_work
run: chmod -R 777 /home/u0148284/actions-runner/_work
- name: List of files in the repository
run: |
ls ${{ github.workspace }}
test:
runs-on: self-hosted
runs-on: blizz
needs: build
defaults:
run:
Expand Down Expand Up @@ -93,4 +94,4 @@ jobs:
- name: Test IDEAS.Examples.Tutorial
run: make test-dymola PACKAGE=\"IDEAS.Examples.Tutorial\" INTERACTIVE=false
- name: Test IDEAS.Examples.TwinHouses
run: make test-dymola PACKAGE=\"IDEAS.Examples.TwinHouses\" INTERACTIVE=false
run: make test-dymola PACKAGE=\"IDEAS.Examples.TwinHouses\" INTERACTIVE=false
1 change: 0 additions & 1 deletion bin/runUnitTests.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ def _runUnitTests(batch, tool, package, path, n_pro, show_gui):

# ut.writeOpenModelicaResultDictionary()
# Run the regression tests

retVal = ut.run()
return retVal

Expand Down

0 comments on commit c5cfb8e

Please sign in to comment.