Skip to content

weekly

weekly #190

Workflow file for this run

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.6, 3.7, 3.8, 3.9]
extras: ['']
include:
- os: macos
python: 3.8
- os: windows
python: 3.8
- os: ubuntu
python: 3.8
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@v2
with:
name: environment-${{ matrix.os }}-${{ matrix.python }}${{ matrix.extras }}.yml
path: tests/environment-${{ matrix.os }}-${{ matrix.python }}${{ matrix.extras }}.yml