Skip to content

Commit 37c2497

Browse files
committed
More fixes to yaml using linter:
https://rhysd.github.io/actionlint/
1 parent 7c72343 commit 37c2497

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/ci-test.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,19 +83,20 @@ jobs:
8383
- name: Install aux packages that need versions differences
8484
# if zstd fails install, keep going with test, don't abort
8585
run: |
86+
set -xv
8687
pip install zstd || true
87-
if "$${{ matrix.python-version }}" != "2."* ]]; then
88+
if $(python -c 'import sys; print("%d.%d.%d"%(sys.version_info.major, sys.version_info.minor, sys.version_info.micro))' != "2."* ]]; then
8889
pip install Markdown; fi
8990
9091
- name: Install pytest and other packages needed for running tests
9192
run: pip install codecov flake8 pytest pytest-cov requests
9293

9394
- name: Test build roundup and install locale so lang tests work.
9495
run: |
95-
${{ matrix.python-version }} setup.py install
96+
python setup.py install
9697
(cd locale; make local_install; ls -lR locale/de/LC_MESSAGES)
9798
98-
- name: run flake8 in warn only mode
99+
- name: run flake8: abort for syntax error, otherwise warn only
99100
run: |
100101
# stop the build for Python syntax errors or undefined names
101102
flake8 roundup --count --select=E9,F63,F7,F82 --show-source --statistics
@@ -115,4 +116,4 @@ jobs:
115116

116117
- name: test build_doc
117118
run: |
118-
${{ matrix.python-version }} ./setup.py build_doc
119+
python ./setup.py build_doc

0 commit comments

Comments
 (0)