File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,25 +15,21 @@ jobs:
1515 {
1616 name : linux,
1717 runner : ubuntu-22.04,
18- python_venv_activate : source .venv/bin/activate,
1918 find_wheel_cmd : find ./dist/ -name "rabbitizer-*.whl"
2019 },
2120 {
2221 name : macos-arm,
2322 runner : macos-latest,
24- python_venv_activate : source .venv/bin/activate,
2523 find_wheel_cmd : find ./dist/ -name "rabbitizer-*.whl"
2624 },
2725 {
2826 name : macos-intel,
2927 runner : macos-15-intel,
30- python_venv_activate : source .venv/bin/activate,
3128 find_wheel_cmd : find ./dist/ -name "rabbitizer-*.whl"
3229 },
3330 {
3431 name : windows,
3532 runner : windows-latest,
36- python_venv_activate : .venv\Scripts\Activate.ps1,
3733 find_wheel_cmd : Get-ChildItem -Path .\dist\ -Recurse -Filter "rabbitizer-*.whl"
3834 },
3935 ]
@@ -71,23 +67,17 @@ jobs:
7167 run : |
7268 python3 --version
7369 uv venv .venv --no-config -p ${{ matrix.py_version }}
74- ${{ matrix.os.python_venv_activate }}
75- python3 --version
70+ uv run --no-config --no-build --no-sync python --version
7671
7772 - name : Build wheel
7873 run : |
79- ${{ matrix.os.python_venv_activate }}
8074 uv build --wheel
8175
8276 - name : Install wheel
8377 run : |
84- ${{ matrix.os.python_venv_activate }}
8578 ${{ matrix.os.find_wheel_cmd }}
8679 uv pip install --force-reinstall $(${{ matrix.os.find_wheel_cmd }})
8780
8881 - name : Run the test
8982 run : |
90- ${{ matrix.os.python_venv_activate }}
91- where python3
92- python3 -c "import sys; print(sys.executable)"
93- python3 tests/python/disasm_test.py
83+ uv run --no-config --no-build --no-sync python tests/python/disasm_test.py
You can’t perform that action at this time.
0 commit comments