Skip to content

Implement socket communication with LeCroy #392

Implement socket communication with LeCroy

Implement socket communication with LeCroy #392

Workflow file for this run

name: pytest
on:
push:
paths:
- '**/*.py'
- 'pytest.ini'
pull_request:
types: [opened, synchronize, reopened]
jobs:
unittesting:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: '3.10'
cache: 'pip'
- name: Installing package
run:
pip install --require-hashes --no-deps -r requirements.txt
- name: Install workflow dependencies
run: |
pip install pytest
# Install PS drivers
wget -O - https://labs.picotech.com/Release.gpg.key | sudo apt-key add -
sudo bash -c 'echo "deb https://labs.picotech.com/rc/picoscope7/debian/ picoscope main" >/etc/apt/sources.list.d/picoscope7.list'
sudo apt-get update
sudo apt-get install libps6000a
- name: Installing picosdk package
run:
pip install picosdk
- name: Running unit tests
run: |
pytest