From 9207a191311d43799eaa9bd7b870d11108ef1d1f Mon Sep 17 00:00:00 2001 From: Eric Avdey Date: Wed, 27 Mar 2024 23:07:59 -0300 Subject: [PATCH] fix(ci): back to single job for tests --- .github/workflows/tests.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ed17cdc..6c00b32 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -32,13 +32,9 @@ jobs: run: poetry run ruff check --show-files --exit-non-zero-on-fix - name: Run tests run: poetry run pytest -v --cov --cov-report term-missing - - release: - needs: tests - runs-on: ubuntu-latest - steps: - name: Build artifacts run: poetry build + if: startsWith(github.ref, 'refs/tags/') - name: Publish release uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/')