mirror of
https://github.com/actions/setup-python.git
synced 2025-04-24 07:22:14 +00:00
run format
This commit is contained in:
parent
d43033cfcd
commit
0c0e574755
2 changed files with 4 additions and 2 deletions
2
.github/workflows/test-pypy.yml
vendored
2
.github/workflows/test-pypy.yml
vendored
|
@ -86,7 +86,7 @@ jobs:
|
||||||
|
|
||||||
- name: Assert expected binaries (or symlinks) are present
|
- name: Assert expected binaries (or symlinks) are present
|
||||||
run: |
|
run: |
|
||||||
EXECUTABLE=${{ matrix.pypy }}
|
EXECUTABLE="pypy-3.7-v7.3.x"
|
||||||
EXECUTABLE=${EXECUTABLE/-/} # remove the first '-' in "pypy-X.Y" -> "pypyX.Y" to match executable name
|
EXECUTABLE=${EXECUTABLE/-/} # remove the first '-' in "pypy-X.Y" -> "pypyX.Y" to match executable name
|
||||||
EXECUTABLE=${EXECUTABLE%%-*} # remove any -* suffixe
|
EXECUTABLE=${EXECUTABLE%%-*} # remove any -* suffixe
|
||||||
${EXECUTABLE} --version
|
${EXECUTABLE} --version
|
||||||
|
|
|
@ -128,7 +128,9 @@ describe('Finder tests', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
const tcFindSpy: jest.SpyInstance = jest.spyOn(tc, 'find');
|
const tcFindSpy: jest.SpyInstance = jest.spyOn(tc, 'find');
|
||||||
tcFindSpy.mockImplementationOnce(() => "").mockImplementationOnce(() => expPath);
|
tcFindSpy
|
||||||
|
.mockImplementationOnce(() => '')
|
||||||
|
.mockImplementationOnce(() => expPath);
|
||||||
|
|
||||||
await io.mkdirP(pythonDir);
|
await io.mkdirP(pythonDir);
|
||||||
await io.rmRF(path.join(toolDir, 'Python', '1.2.3'));
|
await io.rmRF(path.join(toolDir, 'Python', '1.2.3'));
|
||||||
|
|
Loading…
Add table
Reference in a new issue