Skip to content

Commit

Permalink
fix(ci): pip install through venv
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Oct 15, 2024
1 parent ba33dd1 commit 7859309
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/pull-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,12 @@ jobs:
uses: actions/setup-python@v5

- name: Create venv
run: python3 -m venv .venv

- name: Activate venv
run: |
python3 -m venv .venv
source .venv/bin/activate
. .venv/bin/activate
echo PATH=$PATH >> $GITHUB_ENV
- name: Install Black
run: pip install "black[jupyter]"
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/push-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,12 @@ jobs:
uses: actions/setup-python@v5

- name: Create venv
run: python3 -m venv .venv

- name: Activate venv
run: |
python3 -m venv .venv
source .venv/bin/activate
. .venv/bin/activate
echo PATH=$PATH >> $GITHUB_ENV
- name: Install Black
run: pip install "black[jupyter]"
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/unitest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,12 @@ jobs:
sudo apt-get install -y portaudio19-dev python3-pyaudio
- name: Create venv
run: python3 -m venv .venv

- name: Activate venv
run: |
python3 -m venv .venv
source .venv/bin/activate
. .venv/bin/activate
echo PATH=$PATH >> $GITHUB_ENV
- name: Test Install
run: pip install .
Expand Down

0 comments on commit 7859309

Please sign in to comment.