File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- #!/usr/bin/env python3
21"""Helpers every action script shares: inputs, outputs, the Plugin API and DLL checks.
32
43Not run directly; imported by the build, archive, installer and layout scripts.
Original file line number Diff line number Diff line change 22"""Self-check for the action scripts. Run: python3 test/test_scripts.py"""
33
44# The scripts are imported after scripts/ is put on the path
5- # ruff: noqa: E402
65
76import os
87import re
1615sys .path .insert (0 , str (ROOT / "scripts" ))
1716
1817import archive
19- import common
2018import build_c as build
2119import build_pascal as pascal
2220import build_rust as rust
2321import check_layout
22+ import common
2423import installer
2524import toolchain
2625
@@ -157,7 +156,7 @@ def test_step_outputs():
157156 "RUNNER_TEMP" : tmp ,
158157 "OUTPUT_DIR" : tmp ,
159158 "GITHUB_OUTPUT" : str (outputs ),
160- entry .takes .upper (): "Contrib/Hello/hello" + sorted (entry .exts )[ 0 ] ,
159+ entry .takes .upper (): "Contrib/Hello/hello" + min (entry .exts ),
161160 }
162161 with mock .patch .dict (os .environ , environ , clear = True ):
163162 toolchain .main ("resolve" )
You can’t perform that action at this time.
0 commit comments