New header **kwargs patch for plot_data_greens3 #362
Workflow file for this run
This file contains hidden or 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: Python application | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| # we find that CPU/memory limits are less often exceeded using this | |
| # specific version of Ubuntu | |
| runs-on: ubuntu-22.04 | |
| #runs-on: ubuntu-latest | |
| steps: | |
| - name: Install libfabric | |
| run: sudo apt-get update && sudo apt-get install -y libfabric-bin | |
| - uses: actions/checkout@v2 | |
| - name: Set up Python 3 | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: '3.13' | |
| - name: pip installation | |
| # test pip installation first (much faster than conda) | |
| run: | | |
| pip install --upgrade pip | |
| pip install -e . | |
| - name: Basic tests | |
| run: | | |
| python tests/check_import.py | |
| bash tests/check_examples.bash | |
| - name: Advanced tests | |
| run: | | |
| bash data/examples/unpack.bash | |
| bash data/tests/download.bash | |
| python tests/test_grid_search_mt.py --no_figures | |
| python tests/test_grid_search_mt_depth.py --no_figures | |
| python tests/test_greens_SPECFEM3D_SAC.py --no_figures | |
| python tests/test_time_shifts.py --no_figures | |
| python tests/benchmark_cap_vs_mtuq.py --no_figures | |
| - name: Graphics | |
| run: | | |
| python tests/test_graphics.py | |
| # unfortunately, these Conda installation tests sometimes exceed the resource limits | |
| # for GitHub workflows | |
| # (https://github.com/actions/runner-images/issues/6680) | |
| # (https://github.com/conda/conda/issues/8650) | |
| #- name: conda installation | |
| # timeout-minutes: 60 | |
| # run: | | |
| # bash tests/install_conda.bash |