From 45d2a455f0061bfea690e27e2c42143f52242048 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Fri, 4 Jun 2021 01:56:15 +0530 Subject: using pipenv action --- .github/workflows/Codecov.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to '.github/workflows/Codecov.yaml') diff --git a/.github/workflows/Codecov.yaml b/.github/workflows/Codecov.yaml index b4872e5..c9d66ac 100644 --- a/.github/workflows/Codecov.yaml +++ b/.github/workflows/Codecov.yaml @@ -22,14 +22,15 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Dependencies - run: | - curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash - pipenv install --dev - pipenv install pytest-cov + uses: VaultVulp/action-pipenv@v2.0.1 + with: + command: install --dev - name: Generate Coverage Report - run: | - pipenv run pytest --cov=./ --cov-report=xml + uses: VaultVulp/action-pipenv@v2.0.1 + with: + command: run tests-codecov + - name: Upload Report uses: codecov/codecov-action@v1 with: -- cgit v1.2.3