From 73fab84d0aeb89c57a8e486cf9301d801dea55c4 Mon Sep 17 00:00:00 2001 From: Jos Verlinde Date: Wed, 29 Jan 2025 10:25:50 +0100 Subject: [PATCH] ci: Update environment variables Signed-off-by: Jos Verlinde --- .github/workflows/mip.yml | 6 +++++- .github/workflows/pytest.yml | 3 ++- .github/workflows/pytest_mpflash.yml | 3 ++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/mip.yml b/.github/workflows/mip.yml index cdaf997f..b1766212 100644 --- a/.github/workflows/mip.yml +++ b/.github/workflows/mip.yml @@ -10,7 +10,11 @@ on: - .github/workflows/mip.yml - "src/stubber/board/**" - +env: + PYTHONIOENCODING: utf-8 + # fix: DeprecationWarning: Jupyter is migrating its paths to use standard platformdirs + JUPYTER_PLATFORM_DIRS: "1" + jobs: mip: runs-on: ubuntu-latest diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 3195336d..cbe4abb8 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -25,8 +25,9 @@ on: - "**/poetry.lock" env: - JUPYTER_PLATFORM_DIRS: "1" + PYTHONIOENCODING: utf-8 # fix: DeprecationWarning: Jupyter is migrating its paths to use standard platformdirs + JUPYTER_PLATFORM_DIRS: "1" concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/pytest_mpflash.yml b/.github/workflows/pytest_mpflash.yml index 21022b0f..c820ca18 100644 --- a/.github/workflows/pytest_mpflash.yml +++ b/.github/workflows/pytest_mpflash.yml @@ -18,8 +18,9 @@ on: - "src/mpflash/**" env: - JUPYTER_PLATFORM_DIRS: "1" + PYTHONIOENCODING: utf-8 # fix: DeprecationWarning: Jupyter is migrating its paths to use standard platformdirs + JUPYTER_PLATFORM_DIRS: "1" concurrency: group: ${{ github.workflow }}-${{ github.ref }}