Skip to content

Commit

Permalink
Use activation script instead of environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaReiser committed Feb 19, 2024
1 parent 23fc76a commit b776722
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,12 @@ jobs:
- name: Create and activate a virtual environment
run: |
uv venv .venv
echo "VIRTUAL_ENV=.venv" >> $GITHUB_ENV
echo "$PWD/.venv/bin" >> $GITHUB_PATH
echo "$PWD/.venv/Scripts" >> $GITHUB_PATH
- name: Install dependencies
run: uv pip install -e ".[pytest]"
- run: uv pip freeze
- name: Run tests under coverage
run: |
./.venv/Scripts/activate.bat
coverage run -m pytest --doctest-modules
coverage report --no-skip-covered
Expand Down

0 comments on commit b776722

Please sign in to comment.