From 0212088b7bde414205f517149ea739abde379d57 Mon Sep 17 00:00:00 2001 From: Mohammad Momeni Date: Fri, 10 May 2024 15:43:43 +0200 Subject: [PATCH] Install charset on MacOS tests --- .github/workflows/tests.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f2dfa81..468c30b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -38,8 +38,9 @@ jobs: poetry env use ${{ matrix.python-version }} poetry install - - name: Clear pytest cache - run: rm -rf .pytest_cache + - name: Install charset on MacOS + if: matrix.os == 'macos-latest' + run: poetry run pip install charset - name: Running provider tests run: poetry run python -m pytest -k "not netease" --durations=0 -vv -s --log-cli-level=DEBUG tests.py