Skip to content

Commit

Permalink
Fix in cd
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorenciaOjeda committed Jun 27, 2024
1 parent 26c72c0 commit 7e1d700
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ jobs:
with:
credentials_json: '${{ secrets.GOOGLE_CREDENTIALS }}'

# Install dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -r requirements-dev.txt -r requirements-test.txt
# Run training script to have the model available
- name: Run training script
run: python ./challenge/training.py

# Build and push Docker image
- name: Build and push Docker image
env:
Expand Down Expand Up @@ -69,16 +79,6 @@ jobs:
- name: Set STRESS_URL as env variable to use later the Makefile
run: echo "STRESS_URL=${{ steps.deploy.outputs.url }}" >> $GITHUB_ENV

# Install dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -r requirements-dev.txt -r requirements-test.txt
# Run training script to have the model available
- name: Run training script
run: python challenge/training.py

# Run stress tests
- name: Run stress tests
run: |
Expand Down

0 comments on commit 7e1d700

Please sign in to comment.