mirror of
https://github.com/DRYTRIX/TimeTracker.git
synced 2025-12-31 00:09:58 -06:00
Implement a complete, production-ready CI/CD pipeline that runs 100% on GitHub Actions with zero external dependencies. This replaces and consolidates existing workflows with an optimized, streamlined pipeline. ## Major Changes - Add 3 new workflows (ci-comprehensive, cd-development, cd-release) - Remove 2 redundant workflows (backed up) - Add 130+ tests across 4 new test files - Add 8 documentation guides (60+ KB) - Add developer tools and scripts
30 lines
674 B
Bash
30 lines
674 B
Bash
#!/bin/bash
|
|
# TimeTracker CI/CD Setup Validation Script for Linux/Mac
|
|
# Runs the Python validation script
|
|
|
|
set -e
|
|
|
|
echo "========================================"
|
|
echo "TimeTracker CI/CD Setup Validation"
|
|
echo "========================================"
|
|
echo ""
|
|
|
|
# Check if Python is available
|
|
if ! command -v python3 &> /dev/null && ! command -v python &> /dev/null; then
|
|
echo "ERROR: Python not found!"
|
|
echo "Please install Python 3.11 or higher"
|
|
exit 1
|
|
fi
|
|
|
|
# Use python3 if available, otherwise python
|
|
if command -v python3 &> /dev/null; then
|
|
PYTHON=python3
|
|
else
|
|
PYTHON=python
|
|
fi
|
|
|
|
# Run the validation script
|
|
$PYTHON scripts/validate-setup.py
|
|
exit $?
|
|
|