-
Notifications
You must be signed in to change notification settings - Fork 12
54 lines (44 loc) · 1.15 KB
/
eva_tests_application.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
name: Eva Application Tests
on:
push:
branches:
- develop
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
evaapp:
name: Run eva application tests
runs-on: ubuntu-latest
steps:
# Setup Python
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: 3.10.10
# Update conda
- name: Update conda
run: conda update -n base -c defaults conda
# Install pip
- name: Install pip
run: conda install pip
# Install cartopy
- name: Install cartopy
run: conda install -c conda-forge cartopy
# Clone the eva code
- name: Clone eva repo
uses: actions/checkout@v2
with:
lfs: true
# Install eva
#- name: Upgrade pip
# run: $CONDA/bin/pip3 install --upgrade pip
- name: Install eva and dependencies
run: $CONDA/bin/pip3 install --use-deprecated=legacy-resolver -r requirements-github.txt --user .
- name: Put eva in the path
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
# Run the eva test suite
- name: Run eva applications tests
run: eva_tests application