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 57f2cc8 commit ba33dd1
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checksum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:

jobs:
checksum:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/close-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
close-issues:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
issues: write
pull-requests: write
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/pull-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
# This workflow closes invalid PR
change-or-close-pr:
# The type of runner that the job will run on
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions: write-all

# Steps represent a sequence of tasks that will be executed as part of the job
Expand Down Expand Up @@ -63,6 +63,11 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5

- name: Create venv
run: |
python3 -m venv .venv
source .venv/bin/activate
- name: Install Black
run: pip install "black[jupyter]"

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/push-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5

- name: Create venv
run: |
python3 -m venv .venv
source .venv/bin/activate
- name: Install Black
run: pip install "black[jupyter]"

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/unitest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ jobs:
run: |
sudo apt-get install -y portaudio19-dev python3-pyaudio
- name: Create venv
run: |
python3 -m venv .venv
source .venv/bin/activate
- name: Test Install
run: pip install .

Expand Down

0 comments on commit ba33dd1

Please sign in to comment.