Skip to content

Commit

Permalink
introduce shorter timeout in test.yml (#175)
Browse files Browse the repository at this point in the history
* introduce shorter timeout in test.yml

* add information on CI timout to README.md (#2)

add information on CI timeout to README.md

* undo wrong change in test.yml

* include short timeout for GH actions

this avoids using large amounts of CI time when playing with a plugin draft.

* Update .github/workflows/test.yml

* Update {{cookiecutter.plugin_name}}/.github/workflows/test_and_deploy.yml

* fix additional enter

---------

Co-authored-by: Grzegorz Bokota <bokota+github@gmail.com>
  • Loading branch information
martinschorb and Czaki authored Apr 8, 2024
1 parent 03540b6 commit 36dd874
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ update (configuration is in `.github/workflows/test_and_deploy.yml`). You can
monitor them in the "Actions" tab of your github repository. If you're
following along, go have a look... they should be running right now!
Currently, the timeout for these runs is set to 30 minutes to save resources. You can modify the settings if necessary. Here you can find information on [GitHub workflows](https://docs.github.com/en/actions/learn-github-actions) and the [timeout parameter](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idtimeout-minutes).
When the tests are done, test coverage will be viewable at
[codecov.io](https://codecov.io/) (assuming your repository is public):
`https://codecov.io/gh/<your-github-username>/<your-package-name>`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
test:
name: ${{ matrix.platform }} py${{ matrix.python-version }}
runs-on: ${{ matrix.platform }}
timeout: 30
strategy:
matrix:
platform: [ubuntu-latest, windows-latest, macos-latest]
Expand Down

0 comments on commit 36dd874

Please sign in to comment.