diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1d05850..1c119a3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,37 +6,44 @@ on: push: branches: [master] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +env: + FORCE_COLOR: 2 + PS4: '[command]' + jobs: test: runs-on: ubuntu-latest timeout-minutes: 5 strategy: matrix: - python-version: ['3.7', '3.9'] + python-version: ['3.7', '3'] + fail-fast: false env: PYTEST_ADDOPTS: --color=yes steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: eslint - run: npx eslint . + run: npx eslint@8 . - name: configure python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: install run: | + set -x sudo apt-get install -y graphviz - pip install git+https://github.com/cylc/cylc-flow/ # install latest cylc-flow - pip install -e .[all] + pip install git+https://github.com/cylc/cylc-flow/ -e .[all] - name: pycodestyle - run: | - pycodestyle . - npx eslint cylc/ + run: pycodestyle . - name: unittest run: | diff --git a/cylc/sphinx_ext/cylc_lang/autodocumenters.py b/cylc/sphinx_ext/cylc_lang/autodocumenters.py index 84efb9a..5e030ca 100644 --- a/cylc/sphinx_ext/cylc_lang/autodocumenters.py +++ b/cylc/sphinx_ext/cylc_lang/autodocumenters.py @@ -26,7 +26,7 @@ def get_obj_from_module(namespace): Examples: >>> get_obj_from_module('os') # doctest: +ELLIPSIS - + >>> get_obj_from_module('os.walk') # doctest: +ELLIPSIS >>> get_obj_from_module('os.path.join') # doctest: +ELLIPSIS