Update for new scipy #48
Workflow file for this run
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: MMS Test | |
on: [push] | |
jobs: | |
standard_tests: | |
name: Tests with ${{ matrix.config.name }} | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
container: | |
image: oi4ai/bout3d:latest-${{ matrix.config.mode }} | |
strategy: | |
fail-fast: false | |
matrix: | |
config: | |
- name: debugging | |
mode: debug | |
- name: optimisations | |
mode: opt | |
steps: | |
- name: Job information | |
run: | | |
echo Build: ${{ matrix.config.name }} | |
cat /etc/os-release | |
- name: Checkout hermes-2 | |
run: | | |
cd /home/boutuser/ | |
git clone ${{ github.server_url }}/${{ github.repository }} -b ${{ github.ref_name }} zoidberg | |
cd zoidberg | |
git checkout ${{ github.sha }} | |
git submodule update --init --recursive | |
- name: Build | |
run: | | |
export HOME=/home/boutuser | |
cd /home/boutuser/zoidberg | |
python3 -m ensurepip | |
python3 -m pip install . | |
python3 -m pip install xarray | |
- name: Run | |
run: | | |
export HOME=/home/boutuser | |
export PYTHONPATH=/home/boutuser/BOUT-dev/build/tools/pylib/ | |
export LD_LIBRARY_PATH=/usr/lib64/mpich/lib | |
cd /home/boutuser/zoidberg/test/mms/ | |
# Run test | |
make |