-
Notifications
You must be signed in to change notification settings - Fork 12
59 lines (46 loc) · 1.21 KB
/
esm_tools_actions.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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