Datasets:
| name: ML Pipeline CI/CD | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build-and-deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository Code | |
| uses: actions/checkout@v3 | |
| - name: Set up Python Environment | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-python-version: '3.10' | |
| - name: Install Project Dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
| - name: Verify Environment and Data | |
| run: | | |
| echo "Validating workspace structures..." | |
| ls -la | |