Skip to content
Snippets Groups Projects
Commit c84ceb0d authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

[conda][doc] Test Sphinx docs on Linux only. The docs build locally on macs...

[conda][doc] Test Sphinx docs on Linux only. The docs build locally on macs but fail in the CI somehow.
parent f9cbe473
Branches
Tags
1 merge request!76[docs] update docs to match new API of xarray
Pipeline #54326 passed
...@@ -56,8 +56,8 @@ test: ...@@ -56,8 +56,8 @@ test:
- {{ name }} - {{ name }}
commands: commands:
- pytest --verbose --cov {{ name }} --cov-report term-missing --cov-report html:{{ project_dir }}/sphinx/coverage --cov-report xml:{{ project_dir }}/coverage.xml --pyargs {{ name }} - pytest --verbose --cov {{ name }} --cov-report term-missing --cov-report html:{{ project_dir }}/sphinx/coverage --cov-report xml:{{ project_dir }}/coverage.xml --pyargs {{ name }}
- sphinx-build -aEW {{ project_dir }}/doc {{ project_dir }}/sphinx - sphinx-build -aEW {{ project_dir }}/doc {{ project_dir }}/sphinx # [linux]
- sphinx-build -aEb doctest {{ project_dir }}/doc sphinx - sphinx-build -aEb doctest {{ project_dir }}/doc sphinx # [linux]
- conda inspect linkages -p $PREFIX {{ name }} # [not win] - conda inspect linkages -p $PREFIX {{ name }} # [not win]
- conda inspect objects -p $PREFIX {{ name }} # [osx] - conda inspect objects -p $PREFIX {{ name }} # [osx]
requires: requires:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment