diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/Codecov.yaml | 13 | ||||
-rw-r--r-- | .github/workflows/Flask-Tests.yaml | 11 |
2 files changed, 13 insertions, 11 deletions
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: diff --git a/.github/workflows/Flask-Tests.yaml b/.github/workflows/Flask-Tests.yaml index cce4ed1..160ddfe 100644 --- a/.github/workflows/Flask-Tests.yaml +++ b/.github/workflows/Flask-Tests.yaml @@ -23,10 +23,11 @@ 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 + uses: VaultVulp/action-pipenv@v2.0.1 + with: + command: install --dev - name: Run Tests - run: | - pipenv run pytest
\ No newline at end of file + uses: VaultVulp/action-pipenv@v2.0.1 + with: + command: run tests
\ No newline at end of file |