aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2021-06-04 02:10:59 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2021-06-04 02:10:59 +0530
commit376ffc9a0702359a53aa4b295535443ab3c03283 (patch)
tree89f536cc65dd3f1bf0119519b9a6967d50d8e67b /.github
parent0c0c5868c945d0cdfcbb31b9733ef2a7105d8cb4 (diff)
revverting to requirements.txt
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/Codecov.yaml13
-rw-r--r--.github/workflows/Flask-Tests.yaml11
2 files changed, 11 insertions, 13 deletions
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