fix(ci): pip install through venv

This commit is contained in:
源文雨
2024-10-15 23:54:31 +09:00
parent 57f2cc8f14
commit ba33dd1910
5 changed files with 18 additions and 3 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ on:
jobs:
checksum:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
+1 -1
View File
@@ -5,7 +5,7 @@ on:
jobs:
close-issues:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
issues: write
pull-requests: write
+6 -1
View File
@@ -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
@@ -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]"
+5
View File
@@ -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]"
+5
View File
@@ -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 .