mirror of
https://github.com/BaaRai/ARTEX.git
synced 2026-11-25 17:30:56 +08:00
Refactor PostgreSQL test skipping logic
- Introduced uniform skipping functions in the db package: SkipPGUnavailable and SkipNoPG. - Updated all relevant test files to utilize these new functions for better consistency and readability. - Added new db/testpg.go file to house the skipping logic. - Created architecture and operations documentation to provide a comprehensive overview of the ARTEX system. - Added a verification script to streamline local testing and ensure code quality.
This commit is contained in:
@@ -125,7 +125,7 @@ jobs:
|
||||
# shellcheck is preinstalled on the ubuntu runners. -S warning: the scripts
|
||||
# currently have only info-level notes (intentional A && B || C chains in
|
||||
# update.sh, an unquoted glob in backup.sh's prune), so fail on warnings.
|
||||
- run: shellcheck -S warning install.sh update.sh start.sh scripts/backup.sh reset-password.sh scripts/extract-changelog-section.sh scripts/test-extract-changelog-section.sh .github/scripts/bot.sh scripts/test-bot-context.sh
|
||||
- run: shellcheck -S warning install.sh update.sh start.sh scripts/backup.sh scripts/verify.sh reset-password.sh scripts/extract-changelog-section.sh scripts/test-extract-changelog-section.sh .github/scripts/bot.sh scripts/test-bot-context.sh
|
||||
- run: bash scripts/test-extract-changelog-section.sh
|
||||
# The triage bot's repository summary must expose every top-level
|
||||
# directory; a truncated file list once made it deny that docs/ and
|
||||
|
||||
Reference in New Issue
Block a user