From 9228f7333299489172090982a7e2e9a1e2b32be6 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 25 Jun 2023 09:35:05 +0200 Subject: [PATCH 1/5] GitHub Actions build: Add more tests Re-enable some tests that were disabled in #6591. Fixes #8818 --- .github/workflows/build.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6b9cc890b6af..917971267bb4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,9 +24,6 @@ jobs: - name: Run tests # See: #6591 for re-enabling tests on Python v3.11 run: pytest - --ignore=computer_vision/cnn_classification.py - --ignore=machine_learning/lstm/lstm_prediction.py - --ignore=quantum/ --ignore=project_euler/ --ignore=scripts/validate_solutions.py --cov-report=term-missing:skip-covered From c93aba076c015c516335d0665d2a787a62eb9634 Mon Sep 17 00:00:00 2001 From: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> Date: Sun, 25 Jun 2023 07:35:19 +0000 Subject: [PATCH 2/5] updating DIRECTORY.md --- DIRECTORY.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DIRECTORY.md b/DIRECTORY.md index 1414aacf95f7..0c21b9537fc1 100644 --- a/DIRECTORY.md +++ b/DIRECTORY.md @@ -167,7 +167,7 @@ * Arrays * [Permutations](data_structures/arrays/permutations.py) * [Prefix Sum](data_structures/arrays/prefix_sum.py) - * [Product Sum Array](data_structures/arrays/product_sum.py) + * [Product Sum](data_structures/arrays/product_sum.py) * Binary Tree * [Avl Tree](data_structures/binary_tree/avl_tree.py) * [Basic Binary Tree](data_structures/binary_tree/basic_binary_tree.py) From cdbc236192302bc84d84f74444f1c7809b1719cf Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 25 Jun 2023 09:48:14 +0200 Subject: [PATCH 3/5] TODO: Re-enable quantum tests --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 917971267bb4..bb387cb6ef49 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,8 +22,9 @@ jobs: python -m pip install --upgrade pip setuptools six wheel python -m pip install pytest-cov -r requirements.txt - name: Run tests - # See: #6591 for re-enabling tests on Python v3.11 + # TODO: Re-enable quantum tests run: pytest + --ignore=quantum/ --ignore=project_euler/ --ignore=scripts/validate_solutions.py --cov-report=term-missing:skip-covered From 1c752035045f0b380636b891029f4ab6342b0f1b Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 25 Jun 2023 09:52:37 +0200 Subject: [PATCH 4/5] fails: pytest quantum/bb84.py quantum/q_fourier_transform.py --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bb387cb6ef49..ea38df84828f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,7 +24,8 @@ jobs: - name: Run tests # TODO: Re-enable quantum tests run: pytest - --ignore=quantum/ + --ignore=quantum/bb84.py + --ignore=quantum/q_fourier_transform.py --ignore=project_euler/ --ignore=scripts/validate_solutions.py --cov-report=term-missing:skip-covered From 880b9ab910f75fd0c9bc395996c5f5706fe4d5ec Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 25 Jun 2023 10:11:16 +0200 Subject: [PATCH 5/5] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ea38df84828f..5229edaf8659 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,7 @@ jobs: python -m pip install --upgrade pip setuptools six wheel python -m pip install pytest-cov -r requirements.txt - name: Run tests - # TODO: Re-enable quantum tests + # TODO: #8818 Re-enable quantum tests run: pytest --ignore=quantum/bb84.py --ignore=quantum/q_fourier_transform.py