add functionality for giving initila conditions as functions (not onl… #44
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
name: Test KNP-EMI DG code via docker | |
on: | |
workflow_dispatch: | |
workflow_call: | |
pull_request: | |
branches: ["main"] | |
push: | |
branches: ["**"] | |
env: | |
DEB_PYTHON_INSTALL_LAYOUT: deb_system | |
defaults: | |
run: | |
shell: bash -el {0} | |
jobs: | |
test_scripts: | |
runs-on: ubuntu-latest | |
container: ghcr.io/scientificcomputing/fenics:2024-02-19 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install package | |
run: | | |
python3 -m pip install . | |
- name: install package | |
run: | | |
python3 -m pip install -e . | |
- name: Run test (MMS) | |
run: | | |
python3 ./tests/run_MMS_space.py |