-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update README.md fixed latex error in mount directories \output * Update README.md fixed latex errors in mount directory \output and description * Update README.md fixed latex error in mount directories \output * Update README.md fixed latex errors in "Properties forward \output" and "Description" section * Update README.md fixed links of references, changed the bibliography to links (for consistency of other references) * Update README.md fixed one mistake (link in the overview) * Update README.md fixed brackets * changed default fidelity changed default fidelity value from 1 to 7 * changed default fidelity changed default fidelity value from 1 to 7 * changed default fidelity changed default fidelity from 1 to 7 * add Julia server in supported languages add Julia server in supported languages table * Create cookies-problem-propagation * Delete benchmarks/cookies-problem-propagation * copied cookies-problem but changed folder name copied cookies-problem but changed folder name, thus it is now in the propagation part * add file run_forward_benchmark_in_matlab.m * Delete benchmarks/cookies-problem directory due to changing folder name directly not possible, added a copy of this folder but with "-propagation" in the folder name * Update README.md fixed latex errors, changed bibliography to links * Create model-cookies-problem.yml added CI for cookies problem model * Update tutorial.rst fixed a small typo
- Loading branch information
1 parent
7453be4
commit 2516924
Showing
9 changed files
with
97 additions
and
58 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
name: model-cookies-problem | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- | ||
name: Set up QEMU | ||
uses: docker/setup-qemu-action@v1 | ||
|
||
- | ||
name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
|
||
- | ||
name: Login to DockerHub | ||
uses: docker/login-action@v1 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- | ||
name: Build and push | ||
uses: docker/build-push-action@v3 | ||
with: | ||
context: models/cookies-problem/ | ||
push: true | ||
tags: linusseelinger/cookies-problem:latest | ||
|
||
test: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
|
||
services: | ||
model: | ||
image: linusseelinger/cookies-problem:latest | ||
ports: | ||
- 4242:4242 | ||
|
||
steps: | ||
- | ||
name: Validate | ||
run: | | ||
docker run --network=host -e model_host=http://localhost:4242 linusseelinger/testing-protocol-conformity-current:latest | ||
- | ||
name: Checkout | ||
uses: actions/checkout@v2 | ||
- | ||
name: Dependencies | ||
run: | | ||
sudo apt update && DEBIAN_FRONTEND="noninteractive" sudo apt install -y python3-pip && pip3 install pytest umbridge | ||
- | ||
name: Validate output | ||
run: | | ||
cd models/cookies-problem/ && \ | ||
python3 test_output.py http://localhost:4242 |
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
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
File renamed without changes.
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
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
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
Oops, something went wrong.