diff --git a/.github/workflows/scripts/unique_warning_reporter.sh b/.github/workflows/scripts/unique_warning_reporter.sh old mode 100644 new mode 100755 index f2250da..4c4d0d5 --- a/.github/workflows/scripts/unique_warning_reporter.sh +++ b/.github/workflows/scripts/unique_warning_reporter.sh @@ -4,10 +4,10 @@ # warnings-as-errors action runs. The volume of each reported warning can be used to indicate # the severity or importance of rectification. -JOBID=$(gh run list -w "Test-suite with Python warnings as errors" -L 1 --json databaseId -q '.[0].databaseId') +JOBID=$(gh run list -w "Test-suite with Python warnings as errors" --repo PennylaneAI/pennylane -L 1 --json databaseId -q '.[0].databaseId') echo "View latest job at https://github.com/PennyLaneAI/pennylane/actions/runs/$JOBID" -gh run view $JOBID --log-failed >/tmp/job_$JOBID.out -cat /tmp/job_$JOBID.out | grep "Warning:" | awk '{split($0,a,"Warning:"); print a[1]"Warning"}' | awk '{split($0,a," - "); print a[2]}' | sort -u >unique_wae.txt +gh run view $JOBID --log-failed --repo PennylaneAI/pennylane >/tmp/job_$JOBID.out +cat /tmp/job_$JOBID.out | grep "Warning:" | awk '{split($0,a,"Warning:"); print a[1]"Warning"}' | awk '{split($0,a," "); print a[3]}' | sort -u >unique_wae.txt declare -A waeCounts diff --git a/README.md b/README.md index 861d88f..f51f982 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ The following table shows the current Catalyst compatibility with the Lightning - + diff --git a/unique_wae.json b/unique_wae.json new file mode 100644 index 0000000..1b95b65 --- /dev/null +++ b/unique_wae.json @@ -0,0 +1 @@ +[{"UserWarning":4627,"DeprecationWarning":1705,"pytest.PytestRemovedIn9Warning":184,"PendingDeprecationWarning":0,"pytest.PytestUnraisableExceptionWarning":154,"numpy.exceptions.ComplexWarning":454,"pennylane.exceptions.PennyLaneDeprecationWarning":764,"RuntimeWarning":694,"pytest.PytestCollectionWarning":144,"FutureWarning":36}]
UserWarning
DeprecationWarning