From aa92bdb5d82752ecc4494eda2a8129fa9cc7c975 Mon Sep 17 00:00:00 2001 From: Izzy Xie <664222956@qq.com> Date: Sat, 23 Sep 2023 10:53:49 -0700 Subject: [PATCH] TST: Try python == 3.11 with github event_name check on push. --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9a98816..48fcd01 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -61,7 +61,7 @@ jobs: # If using python 3.11, need to restrict PR codacy report to PR within the same repo, # so that PR across forks will not be reported. Otherwise, will fail to run the report action. # Here we revert to python = 3.11. - - if: ${{ matrix.python_version == 3.11}} + - if: ${{ matrix.python_version == 3.11 && github.event_name == 'push'}} name: codacy-coverage-reporter uses: codacy/codacy-coverage-reporter-action@v1 with: