-
Notifications
You must be signed in to change notification settings - Fork 77
48 lines (45 loc) · 1.44 KB
/
weekly.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
name: weekly
on:
schedule:
- cron: '0 9 * * 1'
workflow_dispatch:
jobs:
environment:
runs-on: ${{ matrix.os }}-latest
strategy:
max-parallel: 5
fail-fast: false
matrix:
os: [ubuntu]
python: [3.7, 3.8]
extras: ['']
include:
- os: macos
python: 3.8
- os: windows
python: 3.8
- os: ubuntu
python: 3.9
extras: -minimal
# python-eccodes removed old versions from conda-forge
# - os: ubuntu
# python: 3.6
# extras: -minver
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: ${{ matrix.python }}
activate-environment: ${{ matrix.os }}-${{ matrix.python }}${{ matrix.extras }}
environment-file: environment${{ matrix.extras }}.in.yml
- name: Export concrete dependencies
shell: bash -l {0}
run: |
conda env export --no-build -f tests/environment-${{ matrix.os }}-${{ matrix.python }}${{ matrix.extras }}.yml
git diff
- name: Archive environment-${{ matrix.os }}-${{ matrix.python }}${{ matrix.extras }}.yml
uses: actions/upload-artifact@v2
with:
name: environment-${{ matrix.os }}-${{ matrix.python }}${{ matrix.extras }}.yml
path: tests/environment-${{ matrix.os }}-${{ matrix.python }}${{ matrix.extras }}.yml