Skip to content

Commit 4d4bed5

Browse files
samcunliffepre-commit-ci[bot]matt-graham
authored
Fix the year and add a schedule to run the tests on Jan 2nd each year. (#597)
Regression tests are dumb. And years change. I'd love it if we could find a way not to have the full-output regression test. Failing that, I'm proposing a `cron` so that we at least get an email on the 2nd January, which reminds us to fix the year. I acknowledge that it's a dumb solution, but it's a dumb problem: so fairs fair. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Matt Graham <matthew.m.graham@gmail.com>
1 parent 1043372 commit 4d4bed5

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ on:
66
- main
77
- "renovate/**"
88
pull_request:
9+
schedule:
10+
# Run at 11 am on the 2nd January each year to make sure
11+
# dates in package regression test data get updated
12+
# See https://github.com/UCL-ARC/python-tooling/pull/597
13+
- cron: "0 11 2 1 *"
914

1015
jobs:
1116
test-template:

tests/data/test_package_generation/LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- markdownlint-disable MD041 --># MIT License
22

3-
Copyright (c) 2025 Eva Lu Ator
3+
Copyright (c) 2026 Eva Lu Ator
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in

tests/data/test_package_generation/mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
site_name: "Cookiecutter Test"
22
site_description: "Documentation website for Cookiecutter Test"
33
site_author: "Eva Lu Ator"
4-
copyright: "Copyright © 2025 Eva Lu Ator"
4+
copyright: "Copyright © 2026 Eva Lu Ator"
55
repo_url: "https://github.com/test-user/cookiecutter-test/"
66
repo_name: "test-user/cookiecutter-test"
77
edit_uri: edit/main/docs/

0 commit comments

Comments
 (0)