Skip to content

Commit e2c6e7d

Browse files
committed
fix install using python
use python 3.11
1 parent 86ba6ad commit e2c6e7d

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

.github/workflows/github_actions_tests.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,26 @@ jobs:
1414

1515
steps:
1616
- name: Checkout code
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v4
1818

1919
- name: Set up Python
20-
uses: actions/setup-python@v2
20+
uses: actions/setup-python@v4
2121
with:
22-
python-version: '3.13'
22+
python-version: '3.11'
2323

2424
- name: Install dependencies
2525
run: |
2626
python -m venv .venv
2727
source .venv/bin/activate
28+
pip install --upgrade pip
2829
pip install -r requirements.txt
2930
30-
- name: Install Playwright Chrome
31+
- name: Install Playwright Browsers
3132
run: |
32-
npm install @playwright/test
33-
npx playwright install chromium
33+
source .venv/bin/activate
34+
python -m playwright install --with-deps
3435
35-
- name: Run tests
36+
- name: Run tests with Pytest
3637
run: |
3738
source .venv/bin/activate
38-
pytest Ultimateqa/tests
39+
pytest Ultimateqa/tests -n auto --maxfail=3 --tb=short

0 commit comments

Comments
 (0)