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 14, 2024
1 parent a1f29b7 commit c23e3de
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit c23e3de

Please sign in to comment.