fix a merge error in geomar branch #5432
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: esm-tools main test | |
on: [push, pull_request] | |
jobs: | |
basic_tests: | |
runs-on: ubuntu-latest | |
env: | |
LC_ALL: en_US.UTF-8 | |
LANG: en_US.UTF-8 | |
container: | |
image: koldunovn/esm_test:latest | |
options: --hostname ollie1 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Add to the path | |
run: | | |
echo "$HOME/.local/bin" >> $GITHUB_PATH | |
- name: Install esm-tools | |
run: | | |
./install.sh | |
- name: Run Pytest | |
run: | | |
pip install pytest | |
pytest -v . | |
pytest -v --doctest-modules src --ignore src/esm_runscripts/coupling --ignore-glob "*backup*" | |
- name: Run esm_master first time | |
run: | | |
yes Y | esm_master | |
- name: Run esm_master second time | |
run: | | |
esm_master | |
- name: Run esm_plugins | |
run: | | |
esm_plugins | |
- name: Run get-fesom-2.0 | |
run: | | |
esm_master get-fesom-2.0 | |
- name: Run status-fesom-2.0 | |
run: | | |
esm_master status-fesom-2.0 | |
- name: Run clean-fesom-2.0 | |
run: | | |
esm_master clean-fesom-2.0 |