From b114b190bd279a96c5d8bb0333e5bd5a73972070 Mon Sep 17 00:00:00 2001 From: Aaron Heise <5148966+acehoss@users.noreply.github.com> Date: Fri, 17 Oct 2025 14:18:22 -0400 Subject: [PATCH] Update GitHub Actions workflow for Python testing - Upgraded `actions/checkout` to v4 and configured it to fetch only the current ref, disable tag fetching, and clean the workspace. - Modified pytest command to run tests quietly for improved output clarity. --- .github/workflows/python-package.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 6c1e2eb..4da292a 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -22,9 +22,12 @@ jobs: runs-on: [self-hosted, linux] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 with: fetch-depth: 1 + fetch-tags: false + clean: true + ref: ${{ github.ref }} - name: Set up Python 3.9 uses: actions/setup-python@v4 @@ -53,7 +56,7 @@ jobs: # run: poetry run black . --check - name: Test with pytest - run: poetry run pytest -m "not skip_ci" tests + run: poetry run pytest -q # - name: Vulnerability check # run: poetry run safety check