From 102d182178ccc7867318899540fac570f07beb44 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Fri, 4 Oct 2024 08:46:47 +0200 Subject: [PATCH] git fetch --- .github/workflows/fedora-tox.yml | 10 +++++----- test/unit/__init__.py | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/fedora-tox.yml b/.github/workflows/fedora-tox.yml index eb9b8049..7f61bf97 100644 --- a/.github/workflows/fedora-tox.yml +++ b/.github/workflows/fedora-tox.yml @@ -12,7 +12,7 @@ jobs: tox_test: name: Tox test steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Run Tox tests @@ -38,11 +38,11 @@ jobs: matrix: tox_env: # sync with /tox.ini - - py36 - - py37 + #- py36 + #- py37 - py311 - - py312 - - py313 + #- py312 + #- py313 # Use GitHub's Linux Docker host runs-on: ubuntu-latest diff --git a/test/unit/__init__.py b/test/unit/__init__.py index fa79a58b..55a85fa0 100644 --- a/test/unit/__init__.py +++ b/test/unit/__init__.py @@ -66,6 +66,7 @@ def fix_tox_env(): gconf = ['git', 'config', '--global'] subprocess.call(gconf + ['user.email', 'you@example.com'], cwd="/tmp") subprocess.call(gconf + ['user.name', 'Your Name'], cwd="/tmp") + subprocess.call(["git", "fetch", "origin"]) fix_tox_env()