Mercurial > p > roundup > code
diff .github/workflows/ci-test.yml @ 6842:d8d4600c49eb
More fixes to yaml using linter:
https://rhysd.github.io/actionlint/
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 31 Aug 2022 18:11:43 -0400 |
| parents | 3671c0f6352e |
| children | c61ab02ad067 |
line wrap: on
line diff
--- a/.github/workflows/ci-test.yml Wed Aug 31 17:56:55 2022 -0400 +++ b/.github/workflows/ci-test.yml Wed Aug 31 18:11:43 2022 -0400 @@ -83,8 +83,9 @@ - name: Install aux packages that need versions differences # if zstd fails install, keep going with test, don't abort run: | + set -xv pip install zstd || true - if "$${{ matrix.python-version }}" != "2."* ]]; then + if $(python -c 'import sys; print("%d.%d.%d"%(sys.version_info.major, sys.version_info.minor, sys.version_info.micro))' != "2."* ]]; then pip install Markdown; fi - name: Install pytest and other packages needed for running tests @@ -92,10 +93,10 @@ - name: Test build roundup and install locale so lang tests work. run: | - ${{ matrix.python-version }} setup.py install + python setup.py install (cd locale; make local_install; ls -lR locale/de/LC_MESSAGES) - - name: run flake8 in warn only mode + - name: run flake8: abort for syntax error, otherwise warn only run: | # stop the build for Python syntax errors or undefined names flake8 roundup --count --select=E9,F63,F7,F82 --show-source --statistics @@ -115,4 +116,4 @@ - name: test build_doc run: | - ${{ matrix.python-version }} ./setup.py build_doc + python ./setup.py build_doc
