Skip to content

Commit

Permalink
python env
Browse files Browse the repository at this point in the history
  • Loading branch information
louiseschmidtgen committed Nov 6, 2024
1 parent 2496475 commit e1e1b9a
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/performance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,14 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.9"
python-version: "3.8"
- name: Create python virtual env
run: python -m venv venv
- name: Activate python env and install tox
run: |
source venv/bin/activate
pip install --upgrade pip
pip install tox
- name: Install tox
run: pip install tox
- name: Install Go
Expand Down Expand Up @@ -68,6 +75,7 @@ jobs:
TEST_LXD_IMAGE: ubuntu:22.04
TEST_LXD_PROFILE_NAME: k8s-performance
run: |
source venv/bin/activate
cd test/performance && sg lxd -c 'tox -e performance'
- name: Swap out k8s-dqlite and dqlite version for base code ${{ matrix.dqlite }} snap
Expand All @@ -88,6 +96,7 @@ jobs:
TEST_LXD_IMAGE: ubuntu:22.04
TEST_LXD_PROFILE_NAME: k8s-performance
run: |
source venv/bin/activate
cd test/performance && sg lxd -c 'tox -e performance'
git reset --hard $TARGET_SHA
Expand All @@ -109,6 +118,7 @@ jobs:
TEST_LXD_IMAGE: ubuntu:22.04
TEST_LXD_PROFILE_NAME: k8s-performance
run: |
source venv/bin/activate
cd test/performance && sg lxd -c 'tox -e performance'
git reset --hard $TARGET_SHA
Expand All @@ -130,5 +140,6 @@ jobs:
TEST_LXD_IMAGE: ubuntu:22.04
TEST_LXD_PROFILE_NAME: k8s-performance
run: |
source venv/bin/activate
cd test/performance && sg lxd -c 'tox -e performance'
git reset --hard $TARGET_SHA

0 comments on commit e1e1b9a

Please sign in to comment.