Clean up environment file to mitigate sphinx version problem #2232
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
schedule: | |
- cron: '0 0 * * *' # Daily “At 00:00” | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build-and-run: | |
name: Build Sphinx Docs (${{ matrix.python-version }}, ${{ matrix.os }}) | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash -l {0} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ "ubuntu-latest"] | |
python-version: [ "3.8", "3.9", "3.10" ] | |
include: | |
- os: "macos-latest" | |
python-version: "3.8" | |
- os: "macos-latest" | |
python-version: "3.10" | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: setup micromamba | |
uses: mamba-org/setup-micromamba@v1 | |
with: | |
environment-name: geocat-examples | |
environment-file: conda_environment.yml | |
cache-environment: true | |
create-args: >- | |
python=${{matrix.python-version}} | |
- name: make html | |
shell: bash -l {0} | |
working-directory: ./docs | |
run: | | |
conda info | |
conda list | |
make html |