From c7451e88643b23123fc540b81ff77d4d8b0a44f4 Mon Sep 17 00:00:00 2001 From: "Sara A. Miskovich" Date: Tue, 30 Apr 2024 17:39:23 -0700 Subject: [PATCH] Update test.yml from nimish --- .github/workflows/test.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 13da2257..98cca7d9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -46,12 +46,14 @@ jobs: with: python-version: ${{ matrix.python-version }} - - name: Install Dependencies + - name: Install Python Dependencies run: | - sudo $pythonLocation/bin/python3 -m pip install -r requirements.txt - sudo $pythonLocation/bin/python3 -m pip install awscli coverage - sudo $pythonLocation/bin/python3 -m pip install setuptools --upgrade - $pythonLocation/bin/python3 -m pip list + curl -LsSf https://astral.sh/uv/install.sh | sh + uv pip install --system --break-system-packages -r requirements.txt + uv pip install --system --break-system-packages pytest pytest-cov pytest-github-report pytest-github-actions-annotate-failures - name: Run Unit Tests - run: sudo $pythonLocation/bin/python3 -m coverage run -m unittest + env: + pytest_github_report: true + pytest_verbosity: 2 + run: pytest -v --cov=src --cov-report=xml --cov-report=term-missing --color=yes tests/