Skip to content

Commit 36eb350

Browse files
committed
deploy: e015972
1 parent a252305 commit 36eb350

6 files changed

Lines changed: 1514 additions & 1313 deletions

File tree

Rakefile

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,21 @@ task(:cache_dojo_logos) { ruby '_tasks/cache_dojo_logos.rb' }
88
task(:upsert_dojos_geojson) { ruby '_tasks/upsert_dojos_geojson.rb' }
99
task(:compact_geojson) { ruby '_tasks/compact_geojson.rb' }
1010

11+
# GeoJSON データと地図マーカー設定の整合性テスト (minitest)
12+
# マーカーが表示されなくなる回帰を防ぐ。詳細は tests/markers_integrity_test.rb 参照。
13+
desc 'Run GeoJSON data and map-marker integrity tests'
14+
task(:test_markers) { ruby 'tests/markers_integrity_test.rb' }
15+
16+
# Geolonia スプライト サーバの健全性を手動確認するテスト (minitest)。
17+
# 外部サービス状態に CI を依存させないため、`test` には含めず手動実行する:
18+
# GEOLONIA_API_KEY=xxxx bundle exec rake test_sprite
19+
desc 'Manually check Geolonia sprite server health (NOT in CI; needs GEOLONIA_API_KEY)'
20+
task(:test_sprite) { ruby 'tests/sprite_status_test.rb' }
21+
1122
# GitHub - gjtorikian/html-proofer
1223
# https://github.com/gjtorikian/html-proofer
1324
require 'html-proofer'
14-
task test: [:build] do
25+
task test: [:build, :test_markers] do
1526
#require './tests/custom_checks'
1627
options = {
1728
#checks: ['Links', 'Images', 'Scripts', 'OpenGraph', 'Favicon', 'CustomChecks'],

0 commit comments

Comments
 (0)