feat: Financial Forensics Layer + new SME skills and extensions #92
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: SME Forensic Lab CI | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python 3.13 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.13' | |
| - name: Install Dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e . | |
| - name: Set up R | |
| uses: r-lib/actions/setup-r@v2 | |
| - name: Install Stylo | |
| run: | | |
| Rscript -e "install.packages('stylo', repos='https://cloud.r-project.org')" | |
| - name: Core Verification | |
| run: | | |
| python -c "import numpy; print('NumPy Success:', numpy.__version__)" | |
| python -c "import numba; print('Numba Success:', numba.__version__)" | |
| deploy: | |
| name: Build & Push to GHCR | |
| if: startsWith(github.ref, 'refs/tags/v') | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: write | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v4 | |
| - name: Log in to GHCR | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build and Push SME Operator | |
| uses: docker/build-push-action@v5 | |
| with: | |
| context: . | |
| file: ./Dockerfile.operator | |
| push: true | |
| tags: | | |
| ghcr.io/${{ github.repository_owner }}/sme-operator:latest | |
| ghcr.io/${{ github.repository_owner }}/sme-operator:${{ github.ref_name }} | |
| - name: Build and Push SME Sidecar | |
| uses: docker/build-push-action@v5 | |
| with: | |
| context: . | |
| file: ./Dockerfile.sidecar | |
| push: true | |
| tags: | | |
| ghcr.io/${{ github.repository_owner }}/sme-sidecar:latest | |
| ghcr.io/${{ github.repository_owner }}/sme-sidecar:${{ github.ref_name }} | |
| - name: Build and Push SME Frontend | |
| uses: docker/build-push-action@v5 | |
| with: | |
| context: . | |
| file: ./Dockerfile.frontend | |
| push: true | |
| tags: | | |
| ghcr.io/${{ github.repository_owner }}/sme-frontend:latest | |
| ghcr.io/${{ github.repository_owner }}/sme-frontend:${{ github.ref_name }} |