Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 8 additions & 11 deletions .github/workflows/quality_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,34 +7,31 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-versions: ["3.8", "3.9", "3.10"]
python-versions: ["3.11"]
steps:
- uses: aws-actions/configure-aws-credentials@v1
with:
aws-region: eu-west-2
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
python-version: 3.11
- name: Install dependencies and the package
run: |
python -m pip install --upgrade pip
pip install .[test]
pip install -v .[test]
- name: Run unit tests
run: pytest --cov=qbench --cov-report=xml
run: pytest --cov=qbench --cov-report=xml -k 'not awscreds and not aersim'
env:
QISKIT_IBM_TOKEN: ${{ secrets.QISKIT_IBM_TOKEN }}
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3

run_quality_cheks:
run_quality_checks:
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: 3.11
- uses: actions/checkout@v2
- name: Install dependencies and the package
run: |
Expand Down
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,12 @@ dmypy.json

# PyCharm files
.idea/**

# Generated files
res.yml
resolved.yml
results.yml
resolved.csv
results.csv
*.yml
*.csv
5 changes: 2 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
default_language_version:
python: python3.9
python: python3.11

default_stages: [commit, push]

Expand All @@ -15,8 +15,7 @@ repos:
hooks:
- id: black
args: ["--check"]
language_version: python3.9

language_version: python3.11
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
hooks:
Expand Down
196 changes: 0 additions & 196 deletions Hadamard example.ipynb

This file was deleted.

Loading