Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ jobs:
working-directory: holidays
run: make generate

- name: Run smoke tests
- name: Run contract tests
working-directory: holidays
run: make test-smoke
run: make test-contract
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Holiday definitions

## 6.1.1

* Fix `fr` test cases to match Pentecôte/Lundi de Pentecôte informal swap introduced in 6.1.0
* Fix `mc` Toussaint missing `observed` modifier and correct observed-day test cases
* Run contract tests (smoke + generated definition tests) in downstream CI instead of smoke-only

## 6.1.0

* Introduce `mc` (Monaco) region (thanks to https://github.com/abenhamdine)
Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.1.0
6.1.1
8 changes: 4 additions & 4 deletions fr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ tests:
date: '2007-05-27'
regions: ["fr"]
expect:
name: "Pentecôte"
holiday: false
- given:
date: '2007-07-14'
regions: ["fr"]
Expand Down Expand Up @@ -136,19 +136,19 @@ tests:
date: '2007-05-28'
regions: ["fr"]
expect:
holiday: false
name: "Lundi de Pentecôte"
- given:
date: '2007-04-08'
regions: ["fr"]
options: ["informal"]
expect:
name: "Pâques"
- given:
date: '2007-05-28'
date: '2007-05-27'
regions: ["fr"]
options: ["informal"]
expect:
name: "Lundi de Pentecôte"
name: "Pentecôte"
- given:
date: '2017-12-26'
regions: ["fr_a", "fr_m"]
Expand Down
3 changes: 3 additions & 0 deletions mc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ months:
- name: Toussaint
regions: [mc]
mday: 1
observed: to_monday_if_sunday(date)
- name: Fête du Prince
regions: [mc]
mday: 19
Expand Down Expand Up @@ -127,6 +128,7 @@ tests:
- given:
date: '2024-12-09'
regions: ["mc"]
options: ["observed"]
expect:
name: "Immaculée Conception"
# 2025: Nov 1 is Saturday.
Expand All @@ -139,5 +141,6 @@ tests:
- given:
date: '2026-11-02'
regions: ["mc"]
options: ["observed"]
expect:
name: "Toussaint"
Loading