Skip to content

Commit

Permalink
Fix CI warning for deprecated methods
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbean-bremen committed May 13, 2024
1 parent f3218f9 commit 2817449
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,16 @@ 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)"
if [[ '${{ matrix.os }}' == 'windows-latest' ]]; then
echo "dir=$(pip cache dir)" >> $env.GITHUB_OUTPUT
echo env.GITHUB_OUTPUT=$env.GITHUB_OUTPUT
else
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
echo GITHUB_OUTPUT=$GITHUB_OUTPUT
fi
- name: Cache dependencies
id: cache-dep
Expand All @@ -77,7 +84,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
Expand All @@ -97,7 +104,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
Expand Down

0 comments on commit 2817449

Please sign in to comment.