This repository has been archived by the owner on Oct 24, 2023. It is now read-only.
Add rigol scope nodes #951
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: | |
branches: ["main", "develop"] | |
pull_request: | |
branches: ["main", "develop"] | |
types: | |
- opened | |
- synchronize | |
# Run pytest on ubuntu, mac and windows | |
jobs: | |
pytest: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
cache: "pip" | |
cache-dependency-path: requirements.txt | |
- name: Install dependencies within the environment | |
if: steps.cache-python-env.outputs.cache-hit != 'true' | |
run: pip install --upgrade --upgrade-strategy eager -r requirements.txt | |
- name: pytest | |
run: | | |
python -m pytest -n auto -vv -m "not slow" . |