Skip to content

Commit

Permalink
Run in venv
Browse files Browse the repository at this point in the history
  • Loading branch information
dafeda committed Sep 19, 2023
1 parent 5fc0545 commit 3c39765
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/doctest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
fail-fast: false
steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
id: setup_python
Expand All @@ -31,7 +32,16 @@ jobs:
setup.py
pyproject.toml
dev-requirements.txt
- run: pip install .
- name: Create virtual environment
run: python -m venv ".venv"

- name: Add virtual env to PATH
run: echo ".venv/bin" >> $GITHUB_PATH

- run: |
pip install -e .
./script/build
- name: Install with dependencies
run: |
Expand Down

0 comments on commit 3c39765

Please sign in to comment.