Skip to content

Commit

Permalink
use test as extra index
Browse files Browse the repository at this point in the history
  • Loading branch information
gijzelaerr committed Jul 5, 2024
1 parent e069173 commit ebf56d5
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/publish-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,4 @@ jobs:
run: |
python3 -m venv venv
venv/bin/pip install --upgrade pip
venv/bin/pip install -i https://test.pypi.org/simple/ python-snap7[test]
- name: Run pytest
run: |
venv/bin/pytest -m "server or util or client or mainloop"
- name: Run tests required sudo on Linux and macOS
if: ${{ runner.os == 'Linux' || runner.os == 'macOS'}}
run: sudo venv/bin/pytest -m partner

- name: On windows we don't need sudo
if: ${{ runner.os == 'Windows'}}
run: venv/bin/pytest -m partner
venv/bin/pip install --extra-index-url https://test.pypi.org/simple/ python-snap7[test]

0 comments on commit ebf56d5

Please sign in to comment.