-
Notifications
You must be signed in to change notification settings - Fork 78
44 lines (41 loc) · 1.3 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
name: weekly
on:
schedule:
- cron: '0 9 * * 1'
workflow_dispatch:
jobs:
weekly:
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
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@v3
with:
name: environment-${{ matrix.os }}-${{ matrix.python }}${{ matrix.extras }}.yml
path: tests/environment-${{ matrix.os }}-${{ matrix.python }}${{ matrix.extras }}.yml