Improve Lecroy waveform parsing speed #390
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |