From 376ffc9a0702359a53aa4b295535443ab3c03283 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Fri, 4 Jun 2021 02:10:59 +0530 Subject: revverting to requirements.txt --- .github/workflows/Codecov.yaml | 13 ++++++------- .github/workflows/Flask-Tests.yaml | 11 +++++------ 2 files changed, 11 insertions(+), 13 deletions(-) (limited to '.github') diff --git a/.github/workflows/Codecov.yaml b/.github/workflows/Codecov.yaml index c9d66ac..f5ef4bc 100644 --- a/.github/workflows/Codecov.yaml +++ b/.github/workflows/Codecov.yaml @@ -22,15 +22,14 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Dependencies - uses: VaultVulp/action-pipenv@v2.0.1 - with: - command: install --dev + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + pip install pytest-cov - name: Generate Coverage Report - uses: VaultVulp/action-pipenv@v2.0.1 - with: - command: run tests-codecov - + run: | + python -m pytest --cov=./ --cov-report=xml - name: Upload Report uses: codecov/codecov-action@v1 with: diff --git a/.github/workflows/Flask-Tests.yaml b/.github/workflows/Flask-Tests.yaml index 160ddfe..1032f0c 100644 --- a/.github/workflows/Flask-Tests.yaml +++ b/.github/workflows/Flask-Tests.yaml @@ -23,11 +23,10 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Dependencies - uses: VaultVulp/action-pipenv@v2.0.1 - with: - command: install --dev + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt - name: Run Tests - uses: VaultVulp/action-pipenv@v2.0.1 - with: - command: run tests \ No newline at end of file + run: | + python -m pytest \ No newline at end of file -- cgit v1.2.3