Skip to content

Commit

Permalink
create venv if not exists
Browse files Browse the repository at this point in the history
Signed-off-by: Aryan Rajoria <[email protected]>
  • Loading branch information
aryan-rajoria committed Nov 6, 2024
1 parent 8c8dd71 commit b5c2c5a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build-meson-tst.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ jobs:
path: blint-db
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
[ -d venv ] || python3 -m venv venv
source venv/bin/activate
python -m pip install --upgrade pip
pip install setuptools wheel twine build
cd blint-db && python3 -m pip install .
cd blint-db && python -m pip install .
- name: Clean up previous
run: |
cd blint-db
Expand All @@ -33,8 +35,8 @@ jobs:
run: |
mkdir -p temp
cd blint-db/
python3 blint_db/cli.py -f -Z1
python3 ./.oras/orasclient.py
python blint_db/cli.py -f -Z1
python ./.oras/orasclient.py
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_USERNAME: ${{ github.actor }}
10 changes: 6 additions & 4 deletions .github/workflows/build-meson.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ jobs:
path: blint-db
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
[ -d venv ] || python3 -m venv venv
source venv/bin/activate
python -m pip install --upgrade pip
pip install setuptools wheel twine build
cd blint-db && python3 -m pip install .
cd blint-db && python -m pip install .
- name: Clean up previous
run: |
cd blint-db
Expand All @@ -33,8 +35,8 @@ jobs:
run: |
mkdir -p temp
cd blint-db/
python3 blint_db/cli.py -Z1
python3 ./.oras/orasclient.py
python blint_db/cli.py -Z1
python ./.oras/orasclient.py
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_USERNAME: ${{ github.actor }}
6 changes: 4 additions & 2 deletions .github/workflows/build-vcpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ jobs:
path: blint-db
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
[ -d venv ] || python3 -m venv venv
source venv/bin/activate
python -m pip install --upgrade pip
pip install setuptools wheel twine build
cd blint-db && python3 -m pip install .
cd blint-db && python -m pip install .
- name: Clean up previous
run: |
cd blint-db
Expand Down

0 comments on commit b5c2c5a

Please sign in to comment.