Commit 19657e4 Trygve Aspenes
committed
1 parent edee642 commit 19657e4 Copy full SHA for 19657e4
File tree 3 files changed +31
-17
lines changed
3 files changed +31
-17
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,19 @@ jobs:
20
20
architecture : x64
21
21
- name : Checkout Source
22
22
uses : actions/checkout@v2
23
- - name : Install Dependencies
24
- run : |
25
- pip install --upgrade pip
26
- pip install -r test-requirements.txt
27
- pip install pytest-timeout
28
- pip install pytest-cov
23
+ - name : Setup Conda Environment
24
+ uses : conda-incubator/setup-miniconda@v3
25
+ with :
26
+ miniforge-version : latest
27
+ python-version : ${{ matrix.python-version }}
28
+ activate-environment : test-environment
29
+ channels : conda-forge
30
+ conda-remove-defaults : true
31
+ channel-priority : strict
32
+ - name : Update environment
33
+ run : mamba env update -n test-environment -f continuous_integration/environment.yaml
34
+ if : steps.cache.outputs.cache-hit != 'true'
35
+
29
36
- name : Run Tests
30
37
run : python -m pytest -v --cov=./ --cov-report=xml --timeout=60
31
38
- name : Upload to Codecov
Original file line number Diff line number Diff line change
1
+ name : test-environment
2
+ channels :
3
+ - conda-forge
4
+ dependencies :
5
+ - jinja2
6
+ - pyyaml
7
+ - pytest-mock
8
+ - uvicorn
9
+ - requests
10
+ - boto3
11
+ - rasterio
12
+ - satpy
13
+ - mapserver
14
+ - cmocean
15
+ - pip :
16
+ - pytest-lazy-fixtures
17
+ - pytest-timeout
18
+ - pytest-cov
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments