From c23e3de1e882d6c4da8fbf4e1324a2d51c4fafb6 Mon Sep 17 00:00:00 2001 From: mrbean-bremen Date: Sun, 12 May 2024 20:10:41 +0200 Subject: [PATCH] Fix CI warning for deprecated methods --- .github/workflows/testsuite.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml index a279b8b9..aad89bfd 100644 --- a/.github/workflows/testsuite.yml +++ b/.github/workflows/testsuite.yml @@ -49,9 +49,11 @@ jobs: - name: Get pip cache dir id: pip-cache + shell: bash run: | python -m pip install --upgrade pip - echo "::set-output name=dir::$(pip cache dir)" + echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT + echo "dir=$(pip cache dir)" >> $env:GITHUB_OUTPUT - name: Cache dependencies id: cache-dep @@ -77,7 +79,7 @@ jobs: shell: bash - name: Run unit tests without extra packages as root run: | - if [[ '${{ matrix.os }}' != 'windows-latest' ]]; then + if [[ '${{ matrix.os }}' != 'windows-latest' ]]; then # provide the same path as non-root to get the correct virtualenv sudo env "PATH=$PATH" python -m pyfakefs.tests.all_tests_without_extra_packages fi @@ -97,7 +99,7 @@ jobs: shell: bash - name: Run performance tests run: | - if [[ '${{ matrix.os }}' != 'macOS-latest' ]]; then + if [[ '${{ matrix.os }}' != 'macOS-latest' ]]; then export TEST_PERFORMANCE=1 python -m pyfakefs.tests.performance_test fi