From f94659c970a544323480b46f3aa88233f14d02e0 Mon Sep 17 00:00:00 2001 From: grantbuster Date: Fri, 10 Jan 2025 09:37:21 -0700 Subject: [PATCH] try to fix s3 tests that cant find test files --- .github/workflows/s3_tests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/s3_tests.yml b/.github/workflows/s3_tests.yml index ded2ebfed..0f96aef37 100644 --- a/.github/workflows/s3_tests.yml +++ b/.github/workflows/s3_tests.yml @@ -13,6 +13,9 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.ref }} + fetch-depth: 1 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 @@ -28,4 +31,4 @@ jobs: - name: Run pytest and Generate coverage report shell: bash run: | - pytest -v tests/s3_tests.py + python -m pytest -v tests/s3_tests.py --disable-warnings