Skip to content

Commit c23e3de

Browse files
committed
Fix CI warning for deprecated methods
1 parent a1f29b7 commit c23e3de

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/testsuite.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,11 @@ jobs:
4949

5050
- name: Get pip cache dir
5151
id: pip-cache
52+
shell: bash
5253
run: |
5354
python -m pip install --upgrade pip
54-
echo "::set-output name=dir::$(pip cache dir)"
55+
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
56+
echo "dir=$(pip cache dir)" >> $env:GITHUB_OUTPUT
5557
5658
- name: Cache dependencies
5759
id: cache-dep
@@ -77,7 +79,7 @@ jobs:
7779
shell: bash
7880
- name: Run unit tests without extra packages as root
7981
run: |
80-
if [[ '${{ matrix.os }}' != 'windows-latest' ]]; then
82+
if [[ '${{ matrix.os }}' != 'windows-latest' ]]; then
8183
# provide the same path as non-root to get the correct virtualenv
8284
sudo env "PATH=$PATH" python -m pyfakefs.tests.all_tests_without_extra_packages
8385
fi
@@ -97,7 +99,7 @@ jobs:
9799
shell: bash
98100
- name: Run performance tests
99101
run: |
100-
if [[ '${{ matrix.os }}' != 'macOS-latest' ]]; then
102+
if [[ '${{ matrix.os }}' != 'macOS-latest' ]]; then
101103
export TEST_PERFORMANCE=1
102104
python -m pyfakefs.tests.performance_test
103105
fi

0 commit comments

Comments
 (0)