From a8937befd906e2e99ab70db5999362cec85863a5 Mon Sep 17 00:00:00 2001 From: tharunbirla <95176683+tharunbirla@users.noreply.github.com> Date: Thu, 30 Nov 2023 23:35:14 +0530 Subject: [PATCH] Update python-app.yml --- .github/workflows/python-app.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index f2e4174..2be9e8a 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -19,14 +19,25 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Set up Python 3.10 + uses: actions/setup-python@v3 with: python-version: "3.10" + + - name: Set up env + run: python -m venv penv + + - name: Activate env + run: source source penv/bin/activate + + - name: Update pip + run: python -m pip install --upgrade pip + - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -r requirements.txt + run: pip install -r requirements.txt + - name: Train run: python train.py