Skip to content

Commit 390fa85

Browse files
committed
Merge remote-tracking branch 'ibm/main' into direct-pass-call
2 parents 975769e + 9e455f2 commit 390fa85

643 files changed

Lines changed: 18986 additions & 41064 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.

.azure/lint_docs-linux.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,13 @@ jobs:
2323
- bash: tools/install_ubuntu_docs_dependencies.sh
2424
displayName: 'Install docs dependencies'
2525

26-
- bash: tox run -e docs,lint
26+
- bash: tools/install_ubuntu_c_dependencies.sh
27+
displayName: 'Install C dependencies'
28+
29+
- bash: |
30+
set -e
31+
make cformat
32+
tox run -e docs,lint
2733
displayName: 'Lint and docs'
2834
2935
- bash: rm -rf docs/_build/html/{.doctrees,.buildinfo}

.azure/test-linux.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ jobs:
120120
popd
121121
env:
122122
QISKIT_PARALLEL: FALSE
123+
QISKIT_IGNORE_USER_SETTINGS: TRUE
123124
RUST_BACKTRACE: 1
124125
displayName: 'Run Python tests'
125126

.azure/test-macos.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ jobs:
6565
stestr run
6666
env:
6767
QISKIT_PARALLEL: FALSE
68+
QISKIT_IGNORE_USER_SETTINGS: TRUE
6869
RUST_BACKTRACE: 1
6970
displayName: "Run tests"
7071

.azure/test-windows.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ jobs:
6868
LANG: 'C.UTF-8'
6969
PYTHONIOENCODING: 'utf-8:backslashreplace'
7070
QISKIT_PARALLEL: FALSE
71+
QISKIT_IGNORE_USER_SETTINGS: TRUE
7172
RUST_BACKTRACE: 1
7273
displayName: 'Run tests'
7374

.clang-format

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
BasedOnStyle: LLVM
3+
ColumnLimit: '100'
4+
IndentWidth: '4'
5+
Language: Cpp
6+
TabWidth: '4'
7+
UseTab: Never

.github/workflows/coverage.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ jobs:
6161
env:
6262
QISKIT_TEST_CAPTURE_STREAMS: 1
6363
QISKIT_PARALLEL: FALSE
64+
QISKIT_IGNORE_USER_SETTINGS: TRUE
6465
PYTHON: "coverage run --source qiskit --parallel-mode"
6566

6667
- name: Convert to lcov and combine data

.github/workflows/ctests.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Tests
3+
on:
4+
push:
5+
branches: [ main, 'stable/*' ]
6+
pull_request:
7+
branches: [ main, 'stable/*' ]
8+
merge_group:
9+
10+
jobs:
11+
tests:
12+
if: github.repository_owner == 'Qiskit'
13+
name: linux-tests-c
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- name: Install dependencies
18+
run: cargo install cbindgen
19+
- name: Run tests
20+
run: make ctest

.github/workflows/qpy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,5 @@ jobs:
3737
- name: Run QPY backwards compatibility tests
3838
working-directory: test/qpy_compat
3939
run: ./run_tests.sh
40+
env:
41+
QISKIT_IGNORE_USER_SETTINGS: TRUE

.github/workflows/randomized_tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
run: make test_randomized
2929
env:
3030
RUST_BACKTRACE: 1
31+
QISKIT_IGNORE_USER_SETTINGS: TRUE
3132
- name: Create comment on failed test run
3233
if: ${{ failure() }}
3334
uses: peter-evans/create-or-update-comment@v4

.github/workflows/slow.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
env:
2727
RUST_BACKTRACE: 1
2828
QISKIT_TESTS: "run_slow"
29+
QISKIT_IGNORE_USER_SETTINGS: TRUE
2930
- name: Create comment on failed test run
3031
if: ${{ failure() }}
3132
uses: peter-evans/create-or-update-comment@v4

0 commit comments

Comments
 (0)