Skip to content

Commit 7743ff9

Browse files
committed
started fixing GA tests
1 parent e62a953 commit 7743ff9

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

.github/workflows/recipes.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ name: Test recipes
33
on:
44
push:
55
pull_request:
6+
schedule:
7+
- cron: '0 4 * * *'
68

79
jobs:
810
build:
9-
runs-on: ubuntu-20.04
11+
runs-on: "ubuntu-latest"
1012
steps:
1113
- uses: actions/checkout@v2
1214
- name: Cache conda
@@ -19,13 +21,19 @@ jobs:
1921
key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('files/recipe_example.yml') }}
2022
- uses: conda-incubator/setup-miniconda@v2
2123
with:
22-
python-version: "3.8"
24+
python-version: "3.9"
2325
miniconda-version: "latest"
24-
- name: Install esmvaltool
25-
run: conda install -n test -y -c esmvalgroup -c conda-forge esmvaltool-python
26+
channels: conda-forge
27+
- name: Install mamba
28+
shell: bash -l {0}
29+
run: conda install mamba
30+
- name: Install esmvaltool from conda
31+
shell: bash -l {0}
32+
run: mamba install -n test -c conda-forge esmvaltool
2633
- name: Setup config
34+
shell: bash -l {0}
2735
run: |
28-
$CONDA/envs/test/bin/esmvaltool config get_config_user
36+
esmvaltool config get_config_user
2937
patch ~/.esmvaltool/config-user.yml << EOF
3038
44c44
3139
< #rootpath:

0 commit comments

Comments
 (0)