Fix/which ale #5194
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 no Docker | |
# Controls when the action will run. Triggers the workflow on push or pull request. | |
on: [push, pull_request] | |
jobs: | |
basic_tests_no_docker: | |
runs-on: ubuntu-latest | |
env: | |
LC_ALL: en_US.UTF-8 | |
LANG: en_US.UTF-8 | |
strategy: | |
matrix: | |
python-version: ['3.7', '3.8', '3.9', '3.10'] | |
name: Python ${{ matrix.python-version }} sample | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
- name: Install libhdf5-dev | |
run: sudo apt-get install libhdf5-dev | |
- name: Install libnetcdf-dev | |
run: sudo apt-get install libnetcdf-dev | |
- 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 . | |
- 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: | | |
sudo hostname ollie1 | |
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 |