GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [ci] Fix broken Windows PyPy tests (#17347) · yt-dlp/yt-dlp@d798b9b

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • challenge-tests.yml
    • core.yml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/challenge-tests.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/challenge-tests.yml
+25-9Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,45 +43,61 @@ jobs:
4343
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
4444
with:
4545
persist-credentials: false
46+
4647
- name: Set up Python ${{ matrix.python-version }}
4748
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
4849
with:
4950
python-version: ${{ matrix.python-version }}
5051
allow-prereleases: true
52+
5153
- name: Install Deno
5254
uses: denoland/setup-deno@667a34cdef165d8d2b2e98dde39547c9daac7282 # v2.0.4
5355
with:
5456
deno-version: '2.3.0' # minimum supported version
57+
5558
- name: Install Bun
5659
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
5760
with:
5861
bun-version: '1.2.11' # minimum supported version
5962
no-cache: true
63+
6064
- name: Install Node
6165
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
6266
with:
6367
node-version: '22.0' # minimum supported version
68+
6469
- name: Install QuickJS (Linux)
6570
if: matrix.os == 'ubuntu-latest'
6671
shell: bash
6772
run: |
68-
wget "https://bellard.org/quickjs/binary_releases/quickjs-linux-x86_64-${QJS_VERSION}.zip" -O quickjs.zip
69-
unzip quickjs.zip qjs
70-
sudo install qjs /usr/local/bin/qjs
73+
wget "https://bellard.org/quickjs/binary_releases/quickjs-linux-x86_64-${QJS_VERSION}.zip" -O quickjs.zip
74+
unzip quickjs.zip qjs
75+
sudo install qjs /usr/local/bin/qjs
76+
7177
- name: Install QuickJS (Windows)
7278
if: matrix.os == 'windows-latest'
7379
shell: pwsh
7480
run: |
75-
$ErrorActionPreference = "Stop"
76-
$PSNativeCommandUseErrorActionPreference = $true
77-
Invoke-WebRequest "https://bellard.org/quickjs/binary_releases/quickjs-win-x86_64-${Env:QJS_VERSION}.zip" -OutFile quickjs.zip
78-
unzip quickjs.zip
79-
- name: Install test requirements
80-
shell: bash
81+
$ErrorActionPreference = "Stop"
82+
$PSNativeCommandUseErrorActionPreference = $true
83+
Invoke-WebRequest "https://bellard.org/quickjs/binary_releases/quickjs-win-x86_64-${Env:QJS_VERSION}.zip" -OutFile quickjs.zip
84+
unzip quickjs.zip
85+
86+
- name: Install test requirements (cpython)
87+
if: ${{ !startsWith(matrix.python-version, 'pypy') }}
8188
run: |
8289
python -m pip install -U --require-hashes -r "bundle/requirements/pip.txt"
8390
python -m pip install -U --require-hashes -r "bundle/requirements/test.txt"
8491
python -m pip install -U --require-hashes -r "bundle/requirements/default.txt"
92+
93+
- name: Install test requirements (PyPy)
94+
if: ${{ startsWith(matrix.python-version, 'pypy') }}
95+
run: |
96+
# Upgrading/downgrading pip on Windows with actions/setup-python's PyPy can cause breakage
97+
# See https://github.com/actions/setup-python/issues/1348
98+
python -m pip install -U --require-hashes -r "bundle/requirements/test.txt"
99+
python -m pip install -U --require-hashes -r "bundle/requirements/default.txt"
100+
85101
- name: Run tests
86102
timeout-minutes: 15
87103
shell: bash
Collapse file

‎.github/workflows/core.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/core.yml
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ jobs:
8585
- name: Install test requirements (PyPy)
8686
if: ${{ startsWith(matrix.python-version, 'pypy') }}
8787
run: |
88-
python -m pip install -U --require-hashes -r "bundle/requirements/pip.txt"
88+
# Upgrading/downgrading pip on Windows with actions/setup-python's PyPy can cause breakage
89+
# See https://github.com/actions/setup-python/issues/1348
8990
python -m pip install -U --require-hashes -r "bundle/requirements/test.txt"
9091
python -m pip install -U --require-hashes -r "bundle/requirements/default.txt"
9192

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.