Skip to content

Commit f0e110e

Browse files
authored
Merge pull request #85 from maxmind/will2/schedule-tests
Run tests on a schedule
2 parents 2b97e51 + 6c5c1c1 commit f0e110e

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

.github/workflows/rubocop.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
name: Run rubocop
2-
on: [push, pull_request]
2+
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
- cron: '4 0 * * SUN'
8+
39
jobs:
410
rubocop:
511
runs-on: ubuntu-latest

.github/workflows/test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
name: Run tests
2-
on: [push, pull_request]
2+
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
- cron: '4 1 * * SUN'
8+
39
jobs:
410
test:
511
runs-on: ${{ matrix.os }}

.rubocop.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,6 @@ Lint/MissingSuper:
8585

8686
Naming/VariableNumber:
8787
Enabled: false # Doesn't always make sense.
88+
89+
Gemspec/DevelopmentDependencies:
90+
Enabled: false

0 commit comments

Comments
 (0)