Community stuff #3
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: Hyperion CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| gateway: | |
| name: Gateway CI | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.22' | |
| - name: Generate test secrets | |
| run: | | |
| echo "CACHE_MASTER_SECRET=$(openssl rand -hex 32)" >> "$GITHUB_ENV" | |
| - name: Build Gateway | |
| run: cd gateway && go build -v ./cmd/server/main.go | |
| - name: Run Gateway Tests | |
| run: cd gateway && go test -v ./... | |
| dashboard: | |
| name: Dashboard CI | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '18' | |
| - name: Install Dependencies | |
| run: cd dashboard && npm install | |
| - name: Build Dashboard | |
| run: cd dashboard && npm run build | |
| python-microservices: | |
| name: Python CI | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.10' | |
| - name: Install Intelligence Deps | |
| run: | | |
| cd predictor | |
| pip install -r requirements.txt | |
| - name: Install Embedder Deps | |
| run: | | |
| cd embedder | |
| pip install -r requirements.txt |