From 74c1f36e924e4fbd6803ea8b4ecfaa2551073d8f Mon Sep 17 00:00:00 2001 From: Nathan Drezner Date: Fri, 22 Nov 2024 10:56:11 -0500 Subject: [PATCH] Fix typo in venv activation --- .github/workflows/release.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e227b2e..11bb9f6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,12 +28,10 @@ jobs: uv pip install ".[dev]" npm i shell: bash - - name: Run tests - # Run all tests before generating the distribution + - name: Build package run: | source .venv/bin/activate npm run build - npm run test shell: bash - name: Generate distribution # Run setup.py to generate the distribution @@ -45,7 +43,7 @@ jobs: # Run tests again using the generated wheel file run: | uv venv test-dist - source dist/bin/activate + source test-dist/bin/activate WHL_FILE=$(ls dist/*.whl) uv pip install "${WHL_FILE}[dev]" npm run test