feat(desktop): ABI Desktop standalone local app #1403
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: Pull Request Checks | |
| on: | |
| pull_request: | |
| branches: [ main, master ] | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ['3.11', '3.12'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| enable-cache: true | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 8.15.0 | |
| - name: Run checks | |
| run: make check | |
| - name: Run integration tests | |
| run: make test-integration-core | |
| - name: Run API tests | |
| env: | |
| ABI_API_KEY: ${{ secrets.ABI_API_KEY }} | |
| NAAS_CREDENTIALS_JWT_TOKEN: ${{ secrets.NAAS_CREDENTIALS_JWT_TOKEN }} | |
| NAAS_API_KEY: ${{ secrets.NAAS_CREDENTIALS_JWT_TOKEN }} | |
| run: | | |
| # make test-api | |
| echo "🚨🚨🚨🚨🚨🚨🚨🚨🚨 Skipping API tests (disabled) WE NEED TO REMEDIATE THIS 🚨🚨🚨🚨🚨🚨🚨🚨🚨" | |
| - name: Test API initialization with production secrets | |
| env: | |
| ABI_API_KEY: ${{ secrets.ABI_API_KEY }} | |
| NAAS_CREDENTIALS_JWT_TOKEN: ${{ secrets.NAAS_CREDENTIALS_JWT_TOKEN }} | |
| NAAS_API_KEY: ${{ secrets.NAAS_CREDENTIALS_JWT_TOKEN }} | |
| OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | |
| GITHUB_ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
| run: | | |
| # make test-api-init-container | |
| echo "🚨🚨🚨🚨🚨🚨🚨🚨🚨 Skipping API initialization tests (disabled) WE NEED TO REMEDIATE THIS 🚨🚨🚨🚨🚨🚨🚨🚨🚨" | |
| container-scan: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python 3.11 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| enable-cache: true | |
| - name: Install Trivy | |
| uses: aquasecurity/setup-trivy@e07451d2e059ed86c2870430ea286b3a9e0bf241 | |
| with: | |
| version: v0.69.2 | |
| cache: true | |
| - name: Scan | |
| env: | |
| UV_PYTHON: "3.11" | |
| run: make trivy-container-scan |