Skip to content

Commit

Permalink
use a virtual environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Theodlz committed Oct 29, 2024
1 parent f307641 commit 19a57d0
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,11 @@ jobs:
### UV python package manager installation
curl -LsSf https://astral.sh/uv/install.sh | sh
uv pip install --upgrade pip --system && uv pip install wheel --system
cd baselayer_template_app
uv venv --python 3.10 && source .venv/bin/activate
uv pip install --upgrade pip && uv pip install wheel
### bun installation
curl -fsSL https://bun.sh/install | bash
Expand All @@ -101,14 +105,17 @@ jobs:
- name: Install Geckodriver / Selenium
run: |
source .venv/bin/activate
geckodriver --version
uv pip install selenium==4.8.3 --system
uv pip install selenium==4.8.3
python -c "import selenium; print(f'Selenium {selenium.__version__}')"
- name: Write configuration & build DB
run: |
cd baselayer_template_app
source .venv/bin/activate
cat << EOF > config.yaml
database:
database: template_app
Expand Down Expand Up @@ -141,6 +148,7 @@ jobs:
- name: Test template app
run: |
cd baselayer_template_app
source .venv/bin/activate
make test_headless
- name: Upload logs
Expand Down

0 comments on commit 19a57d0

Please sign in to comment.