Skip to content

Commit 1d4aa73

Browse files
Enable weekly cron job (#1095)
* Enable weekly cron job * Update .github/workflows/pytest.yml Co-authored-by: Matthias Feurer <[email protected]> Co-authored-by: Matthias Feurer <[email protected]>
1 parent 8c7154f commit 1d4aa73

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/pytest.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Tests
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
# Every Monday at 7AM UTC
8+
- cron: '0 07 * * 1'
49

510
jobs:
611
ubuntu:
@@ -17,12 +22,15 @@ jobs:
1722
- python-version: 3.7
1823
use-conda: false
1924
use-dist: true
20-
fail-fast: false
25+
fail-fast: false
2126

2227
steps:
2328
- uses: actions/checkout@v2
2429
- name: Setup Python ${{ matrix.python-version }}
2530
uses: actions/setup-python@v2
31+
# A note on checkout: When checking out the repository that
32+
# triggered a workflow, this defaults to the reference or SHA for that event.
33+
# Otherwise, uses the default branch (master) is used.
2634
with:
2735
python-version: ${{ matrix.python-version }}
2836
- name: Conda Install test dependencies

0 commit comments

Comments
 (0)