From 16aade88dbef961d73709130c9504bbeca3e1187 Mon Sep 17 00:00:00 2001 From: John Waller Date: Fri, 1 Mar 2024 11:44:37 +0100 Subject: [PATCH] trying without installing pygbif --- .github/workflows/python_live_tests.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/python_live_tests.yml b/.github/workflows/python_live_tests.yml index 63b4bc8..f3542b8 100644 --- a/.github/workflows/python_live_tests.yml +++ b/.github/workflows/python_live_tests.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python-version: ['3.11'] env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GBIF_USER: ${{ secrets.GBIF_USER }} @@ -30,12 +30,7 @@ jobs: if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Delete vcr cassettes so that it runs live tests run: rm -rf test/vcr_cassettes/* - - name: Install pygbif - run: make + - name: Tests run: pytest - - name: Test coverage - if: matrix.python-version == '3.9' - run: | - python3 -m "pytest" --cov-report=xml --cov=pygbif test/ - codecov +