-
Notifications
You must be signed in to change notification settings - Fork 36
42 lines (36 loc) · 1.06 KB
/
cron.yaml
File metadata and controls
42 lines (36 loc) · 1.06 KB
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
# Run a nightly test against unpinned conda environment
name: Cron
on:
schedule:
- cron: "0 0 * * *"
jobs:
test:
name: ${{ matrix.CONDA_ENV }}-test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
CONDA_ENV: [unpinned, upstream]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
auto-activate-base: false
activate-environment: test_env
environment-file: ci/environment-${{ matrix.CONDA_ENV }}.yml
- name: Development Install intake-xarray
shell: bash -l {0}
run: |
python -m pip install --no-deps -e .
conda list
- name: Run Tests
shell: bash -l {0}
run: |
pytest --verbose --ignore=intake_xarray/tests/test_network.py
- name: Run Tests Requiring Network Connection
shell: bash -l {0}
run: |
pytest --verbose intake_xarray/tests/test_network.py