Skip to content

Commit e256f3e

Browse files
author
Rene Otten
committed
Merge branch 'feature/FZJ_DecaDAC_driver'
# Conflicts: # qcodes/instrument_drivers/QDev/QDac.py
2 parents 3ce14ae + b080875 commit e256f3e

684 files changed

Lines changed: 84616 additions & 92921 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.binder/README

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
This directory holds configuration files for https://mybinder.org/.
2+
3+
The notebooks that comprise the documentation can be accessed with this link:
4+
https://mybinder.org/v2/gh/qcodes/qcodes/master?filepath=docs
5+
6+
7+
To check out a different version, just replace "master" with the desired
8+
branch/tag name or commit hash.

.binder/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
qcodes

.binder/start

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
# https://mybinder.readthedocs.io/en/latest/config_files.html#start-run-code-before-the-user-sessions-starts
3+
export MY_DUMMY_VARIABLE="Hello from .binder/start!"
4+
exec "$@"

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
qcodes/_version.py export-subst
2+
* text=auto eol=lf
3+
*.py text
4+
*.{cmd,[cC][mM][dD]} text eol=crlf
5+
*.{bat,[bB][aA][tT]} text eol=crlf

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
Fixes #issuenumber.
22

33
Changes proposed in this pull request:
4-
-
5-
-
6-
-
4+
-
5+
-
6+
-
77

88

99
@mention one core developer
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: "prepare-cache-pip"
2+
description: "Prepare setup cache of pip wheels"
3+
outputs:
4+
cache-dir:
5+
description: "Pip cache dir"
6+
value: ${{ steps.get-pip-cache-dir.outputs.dir }}
7+
runs:
8+
using: "composite"
9+
steps:
10+
- name: upgrade pip setuptools wheel
11+
run: pip install --upgrade pip setuptools wheel
12+
shell: bash
13+
- name: Get pip cache dir
14+
id: get-pip-cache-dir
15+
run: |
16+
echo "::set-output name=dir::$(pip cache dir)"
17+
shell: bash
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: "setup-ubuntu-latest-xvfb"
2+
description: "Setup xvfb on ubuntu"
3+
runs:
4+
using: "composite"
5+
steps:
6+
- name: Setup xvfb on ubuntu
7+
run: |
8+
sudo apt install xvfb libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0
9+
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1920x1200x24 -ac +extension GLX
10+
shell: bash

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: pip
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
open-pull-requests-limit: 10
8+
- package-ecosystem: github-actions
9+
directory: "/"
10+
schedule:
11+
interval: "daily"
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: qcodesforge
2+
channels:
3+
- conda-forge
4+
dependencies:
5+
- python=3.7.9
6+
# recommended to be explicitly specified by conda-incubator/setup-miniconda@v2
7+
- pip
8+
# dependencies for setup.cfg
9+
- numpy>=1.15
10+
- pyvisa>=1.11.0, <1.12.0
11+
- h5py>=2.8.0
12+
- websockets>=7.0
13+
- jsonschema>=3.0.0
14+
- ruamel.yaml>=0.16.0,!=0.16.6
15+
- wrapt>=1.10.4
16+
- pandas>=0.25.0
17+
- xarray>=0.16.2
18+
- netCDF4>=1.5.0.1
19+
- tabulate>=0.8.0
20+
- tqdm>=4.20.0
21+
- opencensus>=0.7.10, <0.8.0
22+
- opencensus-ext-azure>=1.0.4, <2.0.0
23+
- matplotlib>=2.2.3
24+
- requirements-parser>=0.2.0
25+
- importlib-metadata>=1.0.0,<4.0.0
26+
- typing_extensions>=3.7.4
27+
- packaging>=20.0
28+
- ipywidgets>=7.5.0
29+
- broadbean>=0.9.1
30+
# test requirements from setup.cfg
31+
- deepdiff>=5.0.2
32+
- hypothesis>=5.49.0
33+
- pytest>=6.0.0
34+
- pytest-rerunfailures>=5.0.0
35+
- pytest-xdist>=2.0.0
36+
- pytest-mock>=3.0.0
37+
- lxml>=4.3.0
38+
# extra relevant requirements from setup.cfg
39+
- pyqtgraph>=0.11.0
40+
# for running mypy type checking
41+
- mypy
42+
- mypy_extensions
43+
- pip:
44+
- pyvisa-sim>=0.4.0 # required for testing
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: Install all deps from conda-forge and run pytest
2+
3+
on:
4+
push:
5+
branches:
6+
- 'master'
7+
- 'release/*'
8+
tags:
9+
- 'v*'
10+
pull_request:
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ${{ matrix.os }}
16+
strategy:
17+
matrix:
18+
os: [ubuntu-latest, windows-latest]
19+
env:
20+
DISPLAY: ':99.0'
21+
OS: ${{ matrix.os }}
22+
23+
steps:
24+
- name: checkout source code
25+
uses: actions/checkout@v2
26+
with:
27+
submodules: true
28+
- name: setup ubuntu-latest xvfb
29+
uses: ./.github/actions/setup-ubuntu-latest-xvfb
30+
if: runner.os == 'Linux'
31+
- name: install dependencies
32+
uses: conda-incubator/setup-miniconda@v2
33+
with:
34+
activate-environment: qcodesforge
35+
environment-file: .github/static/environment_forge_full.yml
36+
auto-activate-base: false
37+
- name: conda info
38+
shell: bash -l {0}
39+
run: |
40+
conda info
41+
- name: install qcodes
42+
shell: bash -l {0}
43+
run: |
44+
pip install . --no-deps
45+
- name: Run Mypy
46+
shell: bash -l {0}
47+
run: mypy qcodes
48+
- name: run parallel tests
49+
shell: bash -l {0}
50+
run: |
51+
pytest -m "not serial" --hypothesis-profile ci qcodes
52+
- name: run serial tests
53+
shell: bash -l {0}
54+
run: |
55+
pytest -m "serial" -n 0 --dist no --hypothesis-profile ci qcodes

0 commit comments

Comments
 (0)