From ad4028798874789063c53af1e1d16534cdf1db50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= Date: Wed, 10 Jan 2024 13:42:49 -0600 Subject: [PATCH] Fetch tags in tests --- .github/workflows/constraints.txt | 1 + .github/workflows/test.yml | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/constraints.txt b/.github/workflows/constraints.txt index 9764b5cdf3..1e4564851e 100644 --- a/.github/workflows/constraints.txt +++ b/.github/workflows/constraints.txt @@ -1,6 +1,7 @@ pip==23.3.2 poetry==1.7.1 poetry-plugin-export==1.6.0 +poetry-dynamic-versioning[plugin]==1.2.0 pre-commit==3.6.0 nox==2023.4.22 nox-poetry==1.0.3 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c0bfbadaa3..9e0bb45f3f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -56,6 +56,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-tags: true - name: Install Poetry env: @@ -63,6 +65,7 @@ jobs: run: | pipx install poetry pipx inject poetry poetry-plugin-export + pipx inject poetry poetry-dynamic-versioning poetry --version poetry self show plugins @@ -117,6 +120,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-tags: true - name: Install Poetry env: @@ -124,6 +129,7 @@ jobs: run: | pipx install poetry pipx inject poetry poetry-plugin-export + pipx inject poetry poetry-dynamic-versioning poetry --version poetry self show plugins