Skip to content

Commit

Permalink
added python install step
Browse files Browse the repository at this point in the history
  • Loading branch information
Jayanta008 committed Apr 11, 2024
1 parent 3ba59c0 commit ecfc91f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/dev_cloudrun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,17 +66,19 @@ jobs:
- name: Checkout the code
uses: actions/checkout@v2

- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install Python 3.11
run: |
sudo apt update
sudo apt install python3.11
python3.11 --version
- name: Run unit test
run: python3 -m unittest discover -s tests

# <------------------ DEPLOY APP to GCP ------------------->
deploy-app:
name: Deploy app
needs: build-image
needs: [ build-image, unit-test ]
runs-on: self-hosted
outputs:
env_url: ${{ steps.deploy.outputs.url }}
Expand Down

0 comments on commit ecfc91f

Please sign in to comment.