diff --git a/.github/workflows/watchman_tests.yml b/.github/workflows/watchman_tests.yml index 663b62ad3..99f0caa01 100644 --- a/.github/workflows/watchman_tests.yml +++ b/.github/workflows/watchman_tests.yml @@ -50,7 +50,7 @@ jobs: path: requirements.txt - name: Unit tests - if: ${{ runner.os == 'Linux' }} # WhatsOpt tests will be run only on Linux to avoid unneeded traffic + if: ${{ runner.os == 'Linux' && github.event.schedule == '12 4 * * *' }} # WhatsOpt tests will be run only on Linux on scheduled runs to avoid unneeded traffic env: RUN_WEB_REQUESTS: 'True' run: pytest --no-cov src