Skip to content

Commit c886065

Browse files
authored
Merge pull request #36 from DLR-AE/devel
Merge devel into master
2 parents 71cf0d9 + e674fb3 commit c886065

File tree

108 files changed

+8612
-63
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+8612
-63
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ jobs:
6161
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1920x1200x24 -ac +extension GLX
6262
# Install same requirements as to be used during regression testing
6363
source $CONDA/etc/profile.d/conda.sh
64-
conda activate
64+
conda create -n my_env python=${{ matrix.python-version }}
65+
conda activate my_env
6566
conda install -y -c conda-forge --file ./tests/list_of_packages.txt || true
6667
# Install with -e (in editable mode) to allow the tracking of the test coverage
6768
pip install -e .[extras,test]

.github/workflows/coding-style.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,13 @@ jobs:
5252
run: |
5353
# Install same requirements as to be used during regression testing
5454
source $CONDA/etc/profile.d/conda.sh
55-
conda activate
55+
conda create -n pylint_env python=${{ matrix.python-version }}
56+
conda activate pylint_env
5657
conda install -y -c conda-forge --file ./tests/list_of_packages.txt || true
5758
# Install the package itself to make sure that all imports work.
5859
pip install .[extras]
5960
- name: Analysing the code with pylint
6061
run: |
6162
source $CONDA/etc/profile.d/conda.sh
62-
conda activate
63+
conda activate pylint_env
6364
pylint $(git ls-files '*.py') --fail-under=7.0

.github/workflows/regression-tests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,15 @@ jobs:
3232
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1920x1200x24 -ac +extension GLX
3333
# Install same requirements as to be used during regression testing
3434
source $CONDA/etc/profile.d/conda.sh
35-
conda activate
35+
conda create -n pytest_env python=${{ matrix.python-version }}
36+
conda activate pytest_env
3637
conda install -y -c conda-forge --file ./tests/list_of_packages.txt || true
3738
# Install the package itself to make sure that all imports work.
38-
pip install -e .[extras]
39+
pip install -e .[extras,test]
3940
- name: Analysing the code with pytest
4041
run: |
4142
source $CONDA/etc/profile.d/conda.sh
42-
conda activate
43+
conda activate pytest_env
4344
# Run the actual testing of the code with pytest
4445
# Using python -m pytest is necessary because pytest has the habit of not looking in the site-packages of the venv
4546
python -m pytest -v --basetemp=./tmp -k 'test_unittests or test_gui' --cov=loadskernel --cov=modelviewer --cov=loadscompare --junitxml=testresult.xml

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Note
22
New releases are marked in the repository using tags. Simply checkout the master branch for the lastest version or use git checkout if you require a specific release, for example 'git checkout 2022.10'.
33

4+
# Release 2024.06
5+
- Added comprehensive tutorials as well as coresponding aeroelastic models of the DC3 created by Francisco Carvalho
6+
47
# Release 2024.05
58
- Maintenance release maily with bug fixes, perfromance improvements and updated documentation
69
- Dropped support for Python versions lower than 3.10

README.md

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,16 @@ There are two GUIs to visualize a simulation model (the Model Viewer) and to com
7474
model-viewer
7575
loads-compare
7676
```
77+
# Tutorials & Examples
78+
There is a growing number of tutorials based on Jupyter notebooks. You can either have a look at the static html tutorials or use the Jupyter notebooks interactively. For the latter, start a jupyter notebook server, which will open a dashboard in your web browser. Then open one of the *.ipynb notebooks from ./doc/tutorials and walk through the tutorials step-by-step.
79+
80+
[View html tutorials](https://dlr-ae.github.io/LoadsKernel/tutorials/)
81+
82+
or
83+
84+
```
85+
jupyter notebook
86+
```
7787

7888
# License
7989
This software is developed for scientific applications and is delivered as open source without any liability (BSD 3-Clause, please see [LICENSE](LICENSE) for details). For every new aircraft, a validation against test data and/or other simulation tools is highly recommended and in the responsibility of the user.
@@ -103,23 +113,8 @@ Development branch
103113
[![Regression Tests](https://github.com/DLR-AE/LoadsKernel/actions/workflows/regression-tests.yml/badge.svg?branch=devel)](https://github.com/DLR-AE/LoadsKernel/actions/workflows/regression-tests.yml)
104114
[![Coding style](https://github.com/DLR-AE/LoadsKernel/actions/workflows/coding-style.yml/badge.svg?branch=devel)](https://github.com/DLR-AE/LoadsKernel/actions/workflows/coding-style.yml)
105115

106-
# Internal Part (DLR)
107-
108-
## Examples
109-
There are a number of typical examples, which cover different analyses and simulations. The examples are stored in an additional (internal) DLR GitLab repository:
110-
111-
```
112-
git clone https://gitlab.dlr.de/loads-kernel/loads-kernel-examples.git
113-
```
114-
115-
## Tutorials
116-
In the ./doc folder, there are is a growing number of tutorials based on Jupyter notebooks. You can either have a look at the [static html tutorials](https://loads-kernel.pages.gitlab.dlr.de/loads-kernel/tutorials/) or use the Jupyter notebooks interactively. Start the jupyter notebook server, which will open a dashborad in your web browser. Then navigate to the ./doc/tutorials, open one of the *.ipynb notebooks and you can walk through the tutorials step-by-step.
117-
118-
```
119-
jupyter notebook
120-
```
116+
# DLR-Internal Long-Term Continuous Integration
121117

122-
## Continuous Integration
123118
In addition to the public regression testing (see above), additional and more comprehensive tests are performed and compared against long standing reference results. This is an internal process and the status of the continuous integration pipelines can only be accessed from within DLR:
124119

125120
Master branch [![pipeline status](https://gitlab.dlr.de/loads-kernel/loads-kernel/badges/master/pipeline.svg)](https://gitlab.dlr.de/loads-kernel/loads-kernel/-/commits/master)

0 commit comments

Comments
 (0)