Skip to content

Make Config work independent of directory depth #1261

Make Config work independent of directory depth

Make Config work independent of directory depth #1261

Workflow file for this run

name: Sanity
on: [push]
jobs:
Sanity:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ['ubuntu-latest']
python-version: ['3.9']
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: s-weigand/setup-conda@v1
with:
conda-channels: conda-forge
python-version: 3.9
- run: python3 -m venv .venv
- run: .venv/bin/python -m pip install wheel
- run: .venv/bin/python -m pip install -e .[tests]
- run: .venv/bin/python -m pytest
# Lint:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# with:
# submodules: recursive
# - uses: s-weigand/setup-conda@v1
# with:
# conda-channels: conda-forge
# python-version: 3.9
# - run: python3 -m venv .venv
# - run: .venv/bin/python -m pip install wheel
# - run: .venv/bin/python setup.py lint
Sphinx:
runs-on: ubuntu-latest
if: |
github.ref == 'refs/heads/main' ||
github.ref == 'refs/heads/drcandacemakedamoore/remove_sphinx' ||
github.ref == 'refs/heads/wvxvw/sphinx-command' ||
github.ref == 'refs/heads/drcandacemakedamoore/sphinx_and_nb' ||
github.ref == 'refs/heads/drcandacemakedamoore/expandmatrix' ||
github.ref == 'refs/heads/wvxvw/documentation-fixes' ||
github.ref == 'refs/heads/wvxvw/readthedocs-integration'
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
- uses: s-weigand/setup-conda@v1
with:
conda-channels: conda-forge
python-version: 3.9
- run: python3 -m venv .venv
- run: .venv/bin/python -m pip install wheel sphinx
- run: .venv/bin/python -m pip install -e .[docs]
- run: .venv/bin/python setup.py apidoc
- run: .venv/bin/python setup.py build_sphinx -W
- name: Publish Docs to Pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: build/sphinx/html
Fair-software:
runs-on: ubuntu-latest
steps:
- uses: fair-software/[email protected]
name: Measure compliance with fair-software.eu recommendations
env:
PYCHARM_HOSTED: "Trick colorama into displaying colored output"
with:
MY_REPO_URL: "https://github.com/${{ github.repository }}"
# Markdown:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@main
# - uses: gaurav-nelson/github-action-markdown-link-check@v1
# with:
# config-file: '.github/workflows/mlc-config.json'