File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6060
6161 - name : Install python-snap7
6262 run : |
63+ uv venv
6364 uv pip install pytest
6465 uv pip install dist/*.whl
6566
Original file line number Diff line number Diff line change 6565 --platform linux/arm64 \
6666 "arm64v8/python:${{ matrix.python-version }}-bookworm" /bin/bash -s <<EOF
6767 pip install --upgrade pip uv
68+ uv venv
6869 uv pip install pytest
6970 uv pip install dist/*.whl
7071 uv run pytest -m "server or util or client or mainloop or partner"
Original file line number Diff line number Diff line change 2828 - name : Install uv
2929 uses : astral-sh/setup-uv@v5
3030 - name : Install dependencies
31- run : uv pip install ".[test]"
31+ run : |
32+ uv venv
33+ uv pip install ".[test]"
3234 - name : Run pytest
3335 run : |
3436 uv run pytest -m "server or util or client or mainloop"
Original file line number Diff line number Diff line change 7171
7272 - name : Install python-snap7
7373 run : |
74+ uv venv
7475 uv pip install pytest
7576 uv pip install dist/*.whl
7677
Original file line number Diff line number Diff line change 2020 - name : Install uv
2121 uses : astral-sh/setup-uv@v5
2222 - name : Install python-snap7
23- run : uv pip install --python python${{ matrix.python-version }} -e ".[test]"
23+ run : |
24+ uv venv --python python${{ matrix.python-version }}
25+ uv pip install -e ".[test]"
2426 - name : Run pytest
2527 run : |
26- uv run --python python${{ matrix.python-version }} pytest -m "server or util or client or mainloop"
28+ uv run pytest -m "server or util or client or mainloop"
2729 sudo .venv/bin/pytest -m partner
Original file line number Diff line number Diff line change 6868 uses : astral-sh/setup-uv@v5
6969
7070 - name : install python-snap7
71- run : uv pip install --extra-index-url https://test.pypi.org/simple/ python-snap7[test]
71+ run : |
72+ uv venv
73+ uv pip install --extra-index-url https://test.pypi.org/simple/ python-snap7[test]
7274
7375 test-pypi-package-windows :
7476 runs-on : ${{ matrix.os }}
Original file line number Diff line number Diff line change 7171 uses : astral-sh/setup-uv@v5
7272
7373 - name : install python-snap7
74- run : uv pip install --extra-index-url https://test.pypi.org/simple/ python-snap7[test]
74+ run : |
75+ uv venv
76+ uv pip install --extra-index-url https://test.pypi.org/simple/ python-snap7[test]
7577
7678 test-pypi-package-windows :
7779 runs-on : ${{ matrix.os }}
You can’t perform that action at this time.
0 commit comments