From 9a2a134ef33dc57b1fbec74a5cb2e17f88a8bafe Mon Sep 17 00:00:00 2001 From: nikhil singh Date: Wed, 12 Jul 2023 20:27:57 +0530 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c13c71d..d47cf8c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,19 +5,17 @@ jobs: build: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v3 - name: setup python uses: actions/setup-python@v4 with: python-version: '3.10' # install the python version needed - name: Install dependencies - run: | - cd $GITHUB_WORKSPACE - pwd - ls - pip install -r requirements.txt + uses: py-actions/py-dependency-install@v4 + with: + path: "requirements.txt" - name: run tests # run main.py working-directory: tests run: python -m unittest discover -