CI: Fix failing 'coverage' command because of $PATH

Very probably due to:
https://github.com/actions/virtual-environments/issues/2455#issuecomment-787511010
This commit is contained in:
Adrien Vergé 2021-03-24 16:53:03 +01:00
parent 66bf76a362
commit 4515269233

View File

@ -45,6 +45,8 @@ jobs:
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: ${{ matrix.pyver }} python-version: ${{ matrix.pyver }}
- name: Fix GitHub Actions path
run: echo /home/runner/.local/bin >>$GITHUB_PATH
- run: python -m pip install coveralls - run: python -m pip install coveralls
- run: python -m pip install . - run: python -m pip install .
- run: coverage run --source=yamllint -m unittest discover - run: coverage run --source=yamllint -m unittest discover