From 4a07d80da88d8b44ba77994d2bc64a8989aa2ca7 Mon Sep 17 00:00:00 2001 From: Rijnder Wever Date: Thu, 12 Dec 2024 17:07:24 +0100 Subject: [PATCH] force encoding via env var --- .github/workflows/pytest.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index e922dc7..bb37100 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -12,6 +12,8 @@ on: jobs: test: runs-on: ${{ matrix.os }} + env: + PYTHONIOENCODING: "utf-8" strategy: matrix: os: [ubuntu-latest, windows-latest] # ubuntu is the only distro available 🙃 @@ -20,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - fetch-depth: 0 + fetch-depth: 1 - name: Set up Python uses: actions/setup-python@v5