Skip to content

Merge pull request #5332 from QCoDeS/dependabot/pip/pluggy-approx-eq-… #11932

Merge pull request #5332 from QCoDeS/dependabot/pip/pluggy-approx-eq-…

Merge pull request #5332 from QCoDeS/dependabot/pip/pluggy-approx-eq-… #11932

name: run qcodes.pytest()
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- 'master'
- 'release/*'
tags:
- 'v*'
pull_request:
merge_group:
branches: ['master']
jobs:
pytestnonlocal:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9"]
steps:
- uses: actions/checkout@v3.6.0
with:
submodules: true
# we need full history with tags for the version number
fetch-depth: '0'
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4.3.1
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: |
pyproject.toml
requirements.txt
- name: upgrade pip setuptools wheel
run: python -m pip install --upgrade pip setuptools wheel
shell: bash
- name: install qcodes
run: |
pip install .[test] -c requirements.txt
- name: Test with pytest
run: |
cd ..
mkdir empty
cd empty
cp ../Qcodes/pyproject.toml .
python -c "import sys; import qcodes; ec = qcodes.test(); sys.exit(ec)"