@@ -19,11 +19,11 @@ jobs:
1919 uses : dawidd6/action-download-artifact@v6
2020 with :
2121 workflow : osx-build-test-amd64.yml
22- path : dist
22+ path : .
2323 - name : " Download Linux/amd64 artifacts"
2424 uses : dawidd6/action-download-artifact@v6
2525 with :
26- workflow : osx -build-test-amd64.yml
26+ workflow : linux -build-test-amd64.yml
2727 path : .
2828 - name : " Download Linux/arm64 artifacts"
2929 uses : dawidd6/action-download-artifact@v6
@@ -45,14 +45,12 @@ jobs:
4545 with :
4646 path : dist
4747 - name : show dist layout
48- run : |
49- ls -al
50- ls -al dist
51- find dist
48+ run : find dist
5249 - name : Publish distribution 📦 to TestPyPI
5350 uses : pypa/gh-action-pypi-publish@release/v1
5451 with :
5552 repository-url : https://test.pypi.org/legacy/
53+ verbose : true
5654 test-pypi-packages :
5755 runs-on : ${{ matrix.os }}
5856 needs : publish-to-testpypi
7371 run : |
7472 python3 -m venv venv
7573 venv/bin/pip install --upgrade pip
76- venv/bin/pip install -i https://test.pypi.org/simple/ python-snap7[test]
77-
78- - name : Run pytest
79- run : |
80- venv/bin/pytest -m "server or util or client or mainloop"
81-
82- - name : Run tests required sudo on Linux and macOS
83- if : ${{ runner.os == 'Linux' || runner.os == 'macOS'}}
84- run : sudo venv/bin/pytest -m partner
85-
86- - name : On windows we don't need sudo
87- if : ${{ runner.os == 'Windows'}}
88- run : venv/bin/pytest -m partner
74+ venv/bin/pip install --extra-index-url https://test.pypi.org/simple/ python-snap7[test]
0 commit comments