update the workflows test
Some checks failed
Test Gitea Secrets / deploy-to-modal (push) Failing after 25s
Some checks failed
Test Gitea Secrets / deploy-to-modal (push) Failing after 25s
This commit is contained in:
@@ -2,20 +2,25 @@ name: Test Gitea Secrets
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
print-secret:
|
||||
deploy-to-modal:
|
||||
runs-on: ubuntu-latest
|
||||
# Use a standard python image so you don't have to pre-build anything
|
||||
container:
|
||||
image: runner_setup-gitea_runner:latest
|
||||
image: python:3.12-slim
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Test modal worker pipeline
|
||||
# All shell commands must be in the 'run' block
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
apt-get update && apt-get install -y git
|
||||
pip install modal
|
||||
|
||||
- name: Deploy worker pipeline to Modal
|
||||
run: |
|
||||
ls -d workspace/sprint_1_2/CODEBASE/deps/implementation
|
||||
cd workspace/sprint_1_2/CODEBASE/deps/implementation
|
||||
modal deploy test_worker.py
|
||||
env:
|
||||
MODAL_TOKEN_ID: ${{ secrets.MODAL_TOKEN_ID }}
|
||||
MODAL_TOKEN_SECRET: ${{ secrets.MODAL_TOKEN_SECRET }}
|
||||
MODAL_TOKEN_ID: ${{ secrets.MODAL_KEY }}
|
||||
MODAL_TOKEN_SECRET: ${{ secrets.MODAL_SECRET }}
|
||||
|
||||
Reference in New Issue
Block a user