From 68fa03a5eb241225933431d21cd7347a760c0cd2 Mon Sep 17 00:00:00 2001 From: wisp3rwind <17089248+wisp3rwind@users.noreply.github.com> Date: Mon, 22 Mar 2021 19:07:34 +0100 Subject: [PATCH] ci: install ffmpeg for replaygain tests; show skipped tests We lost the ability to show skipped tests when transitioning to gh actions. As it turns out, all of the replaygain tests were being skipped, so as a start, try to install at least one backend. --- .github/workflows/ci.yaml | 4 ++++ tox.ini | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2a8b3a784..2b71b15c5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -24,6 +24,10 @@ jobs: python -m pip install --upgrade pip python -m pip install tox sphinx + - name: Install optional dependencies + run: | + sudo apt-get install ffmpeg # For replaygain + - name: Test with tox if: matrix.python-version != '3.9' run: | diff --git a/tox.ini b/tox.ini index 64acf1402..16a569344 100644 --- a/tox.ini +++ b/tox.ini @@ -18,8 +18,8 @@ deps = {test,cov}: {[_test]deps} lint: {[_lint]deps} commands = - test: python -bb -m pytest {posargs} - cov: coverage run -m pytest {posargs} + test: python -bb -m pytest -rs {posargs} + cov: coverage run -m pytest -rs {posargs} lint: python -m flake8 {posargs} {[_lint]files} [testenv:docs]