-
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #320 from precice/release-v1.3.0
Release v1.3.0
- Loading branch information
Showing
76 changed files
with
2,629 additions
and
379 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,11 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" # See documentation for possible values | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: "weekly" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Build with OpenFOAM v2212 | ||
name: Build with OpenFOAM v2312 | ||
on: | ||
push: | ||
branches-ignore: | ||
|
@@ -20,23 +20,28 @@ on: | |
- 'README.md' | ||
jobs: | ||
build: | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-22.04 | ||
container: precice/precice:nightly | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
- name: Install action dependencies | ||
run: | | ||
apt-get update -qq | ||
apt-get install -qq sudo wget | ||
- name: Setup caches | ||
uses: actions/cache@v2 | ||
uses: actions/cache@v4 | ||
id: cache-id | ||
with: | ||
path: ${{ runner.temp }}/cache-directory | ||
key: ${{ runner.os }}-cache-dependencies-v1.0 | ||
- name: Install dependencies (considering cache) | ||
- name: Install OpenFOAM (considering cache) | ||
uses: airvzxf/[email protected] | ||
with: | ||
script: 'install-dependencies.sh' | ||
script: 'install-openfoam.sh' | ||
is_cached: ${{ steps.cache-id.outputs.cache-hit }} | ||
cache: ${{ runner.temp }}/cache-directory | ||
snapshot: '/' | ||
exclude: '/boot /data /dev /mnt /proc /run /sys' | ||
- name: Build OpenFOAM-preCICE adapter | ||
run: /usr/bin/openfoam2212 ./Allwmake | ||
run: /usr/bin/openfoam2312 ./Allwmake |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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,6 @@ | ||
#!/bin/bash -e | ||
|
||
# Install OpenFOAM v2312 | ||
wget -q -O - https://dl.openfoam.com/add-debian-repo.sh | sudo bash | ||
sudo apt-get update -y | ||
sudo apt-get install -y openfoam2312-dev |
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,31 @@ | ||
name: Pre-commit hook checks | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- develop | ||
pull_request: | ||
branches: | ||
- "*" | ||
|
||
jobs: | ||
formatting: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout preCICE | ||
uses: actions/checkout@v4 | ||
- name: Setup python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
check-latest: true | ||
- name: Install pre-commit | ||
run: pip install pre-commit | ||
- name: Run checks | ||
run: pre-commit run -a -v | ||
- name: Git status | ||
if: always() | ||
run: git status | ||
- name: Full diff | ||
if: always() | ||
run: git diff |
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,29 @@ | ||
name: System tests | ||
|
||
on: | ||
pull_request: | ||
types: [labeled] | ||
|
||
jobs: | ||
gather-refs: | ||
if: ${{ github.event.label.name == 'trigger-system-tests' }} | ||
runs-on: ubuntu-latest | ||
outputs: | ||
reftutorials: ${{ steps.reftutorials.outputs.shorthash }} | ||
steps: | ||
- id: reftutorials | ||
uses: nmbgeek/github-action-get-latest-commit@main | ||
with: | ||
owner: precice | ||
repo: tutorials | ||
branch: develop | ||
|
||
run-system-tests: | ||
if: ${{ github.event.label.name == 'trigger-system-tests' }} | ||
needs: gather-refs | ||
uses: precice/tutorials/.github/workflows/run_testsuite_workflow.yml@develop | ||
with: | ||
suites: openfoam_adapter_pr | ||
build_args: TUTORIALS_REF:${{ needs.gather-refs.outputs.reftutorials }},PRECICE_REF:v3.0.0,OPENFOAM_EXECUTABLE:openfoam2312,OPENFOAM_ADAPTER_REF:${{ github.event.pull_request.head.sha }} | ||
systests_branch: develop | ||
loglevel: "DEBUG" |
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,20 @@ | ||
repos: | ||
# Official repo for default hooks | ||
- repo: https://github.com/precice/precice-pre-commit-hooks | ||
rev: 'v3.3' | ||
hooks: | ||
- id: format-precice-config | ||
- id: check-image-prefix | ||
args: [ --prefix=docs-adapter-openfoam- ] | ||
- repo: https://github.com/igorshubovych/markdownlint-cli | ||
rev: v0.30.0 | ||
hooks: | ||
- id: markdownlint | ||
files: "^docs/.*.md" | ||
- id: markdownlint-fix | ||
files: "^docs/.*.md" | ||
- repo: https://github.com/koalaman/shellcheck-precommit | ||
rev: v0.10.0 | ||
hooks: | ||
- id: shellcheck | ||
args: [ --external-sources, --exclude=SC1091 ] |
Oops, something went wrong.